Fix reloading an unchanged file with the Config Options API
authorTerry Wilson <twilson@digium.com>
Thu, 7 Jun 2012 20:32:07 +0000 (20:32 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 7 Jun 2012 20:32:07 +0000 (20:32 +0000)
commit9f704b5d59a91879ba30b90b817090b71ca36afe
tree81595af089d9d278d737e5b7d98d3c974e44205b
parentac6ec71fd23d4fe0ce9a7bdd43d9461b4732c713
Fix reloading an unchanged file with the Config Options API

Adding multiple file support broke reloading an unchanged file. This
adds an enum for return values for the aco_process_* functions and
ensures that the config is not applied if res is not ACO_PROCESS_OK.

Review: https://reviewboard.asterisk.org/r/1979/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_skel.c
include/asterisk/config_options.h
main/config_options.c
main/udptl.c
tests/test_config.c