[asterisk-commits] qwell: branch 1.4 r50346 -
	/branches/1.4/cdr/cdr_manager.c
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Wed Jan 10 09:45:37 MST 2007
    
    
  
Author: qwell
Date: Wed Jan 10 10:45:36 2007
New Revision: 50346
URL: http://svn.digium.com/view/asterisk?view=rev&rev=50346
Log:
Reverse some logic in cdr_manager, which made it fail to load if the config file existed.
Issue 8777
Modified:
    branches/1.4/cdr/cdr_manager.c
Modified: branches/1.4/cdr/cdr_manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/cdr/cdr_manager.c?view=diff&rev=50346&r1=50345&r2=50346
==============================================================================
--- branches/1.4/cdr/cdr_manager.c (original)
+++ branches/1.4/cdr/cdr_manager.c Wed Jan 10 10:45:36 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