aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-27 21:32:13 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-27 21:32:13 +0000
commitd532b92cd0e89362a0a04fad48560e9cef4c1478 (patch)
tree4fcc16385a6f613d74e60b3000b459b158d1fc64 /cdr
parent62ad52ba2b0bd55bed82c190e5347373281a63e2 (diff)
If config file is blank, don't load module.
(Closes issue #14563) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@179161 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rw-r--r--cdr/cdr_sqlite3_custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_sqlite3_custom.c b/cdr/cdr_sqlite3_custom.c
index 3bac49550..b79bb50ac 100644
--- a/cdr/cdr_sqlite3_custom.c
+++ b/cdr/cdr_sqlite3_custom.c
@@ -172,7 +172,7 @@ static int load_config(int reload)
/* Nothing configured */
ast_mutex_unlock(&lock);
ast_config_destroy(cfg);
- return 0;
+ return -1;
}
/* Mapping must have a table name */