[asterisk-commits] tilghman: trunk r179161 - /trunk/cdr/cdr_sqlite3_custom.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 27 15:32:18 CST 2009


Author: tilghman
Date: Fri Feb 27 15:32:13 2009
New Revision: 179161

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=179161
Log:
If config file is blank, don't load module.
(Closes issue #14563)

Modified:
    trunk/cdr/cdr_sqlite3_custom.c

Modified: trunk/cdr/cdr_sqlite3_custom.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/cdr/cdr_sqlite3_custom.c?view=diff&rev=179161&r1=179160&r2=179161
==============================================================================
--- trunk/cdr/cdr_sqlite3_custom.c (original)
+++ trunk/cdr/cdr_sqlite3_custom.c Fri Feb 27 15:32:13 2009
@@ -172,7 +172,7 @@
 		/* Nothing configured */
 		ast_mutex_unlock(&lock);
 		ast_config_destroy(cfg);
-		return 0;
+		return -1;
 	}
 
 	/* Mapping must have a table name */




More information about the asterisk-commits mailing list