asterisk/cel
Kevin Harwell 2f62394fb5 cel_pgsql: module not correctly reloading
Upon reload the module unconditionally "unloaded" the module (freeing memory
and setting pointers to NULL) and then when attempting a "load" if the config
file had not changed then nothing would be reinitialized.

By moving the "unload" to occur conditionally (reload only) after an attempted
configuration load, but before module "loading" alleviates the issue. The module
now loads/unloads/reloads correctly.

(closes issue ASTERISK-22871)
Reported by: Matteo
........

Merged revisions 404857 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 404858 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 404859 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-01-03 22:00:42 +00:00
..
cel_custom.c Be a little more verbose when loading cel_custom.conf. 2013-09-03 14:29:52 +00:00
cel_manager.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
cel_odbc.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
cel_pgsql.c cel_pgsql: module not correctly reloading 2014-01-03 22:00:42 +00:00
cel_radius.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
cel_sqlite3_custom.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
cel_tds.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
Makefile Title update 2012-10-14 21:56:13 +00:00