diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-13 09:22:04 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-13 09:22:04 +0000 |
commit | 858a04d02efc927e2f482ea43296701e3eef779a (patch) | |
tree | d570f3b0552207f5d9c54f4c283afa9f011c9840 /addons | |
parent | 47269d650e33f82fc01661342600887e53b2c125 (diff) |
If CDR logging is disabled, it's considered a FAILURE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229840 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons')
-rw-r--r-- | addons/cdr_mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/cdr_mysql.c b/addons/cdr_mysql.c index a7894acdc..dc1e1b89f 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))) { |