[asterisk-commits] tilghman: trunk r116631 - /trunk/cdr/cdr_csv.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 15 12:58:23 CDT 2008


Author: tilghman
Date: Thu May 15 12:58:22 2008
New Revision: 116631

URL: http://svn.digium.com/view/asterisk?view=rev&rev=116631
Log:
Don't unload config on reload, when config has not changed.
(Closes issue #12652)

Modified:
    trunk/cdr/cdr_csv.c

Modified: trunk/cdr/cdr_csv.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_csv.c?view=diff&rev=116631&r1=116630&r2=116631
==============================================================================
--- trunk/cdr/cdr_csv.c (original)
+++ trunk/cdr/cdr_csv.c Thu May 15 12:58:22 2008
@@ -104,7 +104,7 @@
 		ast_log(LOG_WARNING, "unable to load config: %s\n", config);
 		return 0;
 	} else if (cfg == CONFIG_STATUS_FILEUNCHANGED)
-		return 0;
+		return 1;
 
 	if (!(var = ast_variable_browse(cfg, "csv"))) {
 		ast_config_destroy(cfg);




More information about the asterisk-commits mailing list