[asterisk-commits] jpeeler: branch jpeeler/bug12415 r189950 - /team/jpeeler/bug12415/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 22 11:47:47 CDT 2009


Author: jpeeler
Date: Wed Apr 22 11:47:42 2009
New Revision: 189950

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189950
Log:
fix a very annoying config reload bug

Modified:
    team/jpeeler/bug12415/channels/chan_h323.c

Modified: team/jpeeler/bug12415/channels/chan_h323.c
URL: http://svn.digium.com/svn-view/asterisk/team/jpeeler/bug12415/channels/chan_h323.c?view=diff&rev=189950&r1=189949&r2=189950
==============================================================================
--- team/jpeeler/bug12415/channels/chan_h323.c (original)
+++ team/jpeeler/bug12415/channels/chan_h323.c Wed Apr 22 11:47:42 2009
@@ -2854,7 +2854,7 @@
 			return 0;
 		}
 		ast_clear_flag(&config_flags, CONFIG_FLAG_FILEUNCHANGED);
-		if ((cfg = ast_config_load(config, config_flags))) {
+		if ((cfg = ast_config_load(config, config_flags)) == CONFIG_STATUS_FILEINVALID) {
 			ast_log(LOG_ERROR, "Config file %s is in an invalid format.  Aborting.\n", config);
 			ast_config_destroy(ucfg);
 			return 0;




More information about the asterisk-commits mailing list