Skip to content
Snippets Groups Projects
Commit 5fcf1c92 authored by Olle Johansson's avatar Olle Johansson
Browse files

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
parent 75c015bf
No related branches found
No related tags found
No related merge requests found
......@@ -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))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment