diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-02-27 21:32:13 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-02-27 21:32:13 +0000 |
commit | 31ae1bfa0d15b9b42c2aaa21d0826a31d9493a49 (patch) | |
tree | 4fcc16385a6f613d74e60b3000b459b158d1fc64 /cdr/cdr_sqlite3_custom.c | |
parent | a80ef0ca1e5e8cfd0600e0ebb985aff0b74dfb15 (diff) |
If config file is blank, don't load module.
(Closes issue #14563)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@179161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr/cdr_sqlite3_custom.c')
-rw-r--r-- | cdr/cdr_sqlite3_custom.c | 2 |
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 */ |