]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a bug where a changed configuration file might not be available to all sorcery...
authorJoshua Colp <jcolp@digium.com>
Thu, 7 Feb 2013 17:57:10 +0000 (17:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 7 Feb 2013 17:57:10 +0000 (17:57 +0000)
commitabd17dc8497da673ab39272ce857490c4db26078
tree85c0909b5f56bbe3fde080cb934205eb7834c761
parent67102c3d3f624ed87e098c59fb86bfaf541e5957
Fix a bug where a changed configuration file might not be available to all sorcery object types.

Since res_sorcery_config used a static name of "res_sorcery_config" to inform the configuration
file API that it asked for the configuration file it was possible during a reload for some sorcery
object types not to receive the new configuration file.

This change introduces a UUID on a per-sorcery config instance basis so that the unchanged state
is kept on an instance basis and not for the res_sorcery_config module as a whole.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_sorcery_config.c