mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
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:
@@ -524,7 +524,7 @@ static int my_load_module(int reload)
|
|||||||
connected = 0;
|
connected = 0;
|
||||||
AST_RWLIST_UNLOCK(&columns);
|
AST_RWLIST_UNLOCK(&columns);
|
||||||
ast_config_destroy(cfg);
|
ast_config_destroy(cfg);
|
||||||
return AST_MODULE_LOAD_SUCCESS;
|
return AST_MODULE_LOAD_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(result = mysql_store_result(&mysql))) {
|
if (!(result = mysql_store_result(&mysql))) {
|
||||||
@@ -533,7 +533,7 @@ static int my_load_module(int reload)
|
|||||||
connected = 0;
|
connected = 0;
|
||||||
AST_RWLIST_UNLOCK(&columns);
|
AST_RWLIST_UNLOCK(&columns);
|
||||||
ast_config_destroy(cfg);
|
ast_config_destroy(cfg);
|
||||||
return AST_MODULE_LOAD_SUCCESS;
|
return AST_MODULE_LOAD_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((row = mysql_fetch_row(result))) {
|
while ((row = mysql_fetch_row(result))) {
|
||||||
|
Reference in New Issue
Block a user