[asterisk-commits] qwell: trunk r50347 - in /trunk: ./ cdr/cdr_manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jan 10 09:47:23 MST 2007


Author: qwell
Date: Wed Jan 10 10:47:23 2007
New Revision: 50347

URL: http://svn.digium.com/view/asterisk?view=rev&rev=50347
Log:
Merged revisions 50346 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50346 | qwell | 2007-01-10 10:45:36 -0600 (Wed, 10 Jan 2007) | 4 lines

Reverse some logic in cdr_manager, which made it fail to load if the config file existed.

Issue 8777

........

Modified:
    trunk/   (props changed)
    trunk/cdr/cdr_manager.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/cdr/cdr_manager.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_manager.c?view=diff&rev=50347&r1=50346&r2=50347
==============================================================================
--- trunk/cdr/cdr_manager.c (original)
+++ trunk/cdr/cdr_manager.c Wed Jan 10 10:47:23 2007
@@ -146,7 +146,7 @@
 	int res;
 
 	/* Configuration file */
-	if(loadconfigurationfile())
+	if (!loadconfigurationfile())
 		return AST_MODULE_LOAD_DECLINE;
 	
 	res = ast_cdr_register(name, "Asterisk Manager Interface CDR Backend", manager_log);



More information about the asterisk-commits mailing list