From: Olle Johansson Date: Fri, 13 Nov 2009 09:22:04 +0000 (+0000) Subject: If CDR logging is disabled, it's considered a FAILURE X-Git-Tag: 11.0.0-beta1~3859 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fcf1c92681b796ce67dea5dfa14cf0fcd3a8af9;p=thirdparty%2Fasterisk.git If CDR logging is disabled, it's considered a FAILURE git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@229840 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c index a7894acdc6..dc1e1b89fe 100644 --- a/addons/cdr_mysql.c +++ b/addons/cdr_mysql.c @@ -524,7 +524,7 @@ static int my_load_module(int reload) 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 @@ static int my_load_module(int reload) 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))) {