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
This commit is contained in:
Olle Johansson
2009-11-13 09:22:04 +00:00
parent 75c015bfff
commit 5fcf1c9268

View File

@@ -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))) {