[asterisk-commits] oej: trunk r229840 - /trunk/addons/cdr_mysql.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Nov 13 03:22:07 CST 2009
Author: oej
Date: Fri Nov 13 03:22:04 2009
New Revision: 229840
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=229840
Log:
If CDR logging is disabled, it's considered a FAILURE
Modified:
trunk/addons/cdr_mysql.c
Modified: trunk/addons/cdr_mysql.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/cdr_mysql.c?view=diff&rev=229840&r1=229839&r2=229840
==============================================================================
--- trunk/addons/cdr_mysql.c (original)
+++ trunk/addons/cdr_mysql.c Fri Nov 13 03:22:04 2009
@@ -524,7 +524,7 @@
connected = 0;
AST_RWLIST_UNLOCK(&columns);
ast_config_destroy(cfg);
- return AST_MODULE_LOAD_SUCCESS;
+ return AST_MODULE_LOAD_FAILURE;
}
if (!(result = mysql_store_result(&mysql))) {
@@ -533,7 +533,7 @@
connected = 0;
AST_RWLIST_UNLOCK(&columns);
ast_config_destroy(cfg);
- return AST_MODULE_LOAD_SUCCESS;
+ return AST_MODULE_LOAD_FAILURE;
}
while ((row = mysql_fetch_row(result))) {
More information about the asterisk-commits
mailing list