aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-27 21:34:10 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-27 21:34:10 +0000
commit4b448c72d76f6aaa72ba5de2f8bdce08d2340fd0 (patch)
tree803587e4e2d817d8a24e6c62ae89d7a3f1b018f8 /cdr
parentf3644d6cc942072ab4fde10801d4e3e115cb9908 (diff)
Merged revisions 179161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r179161 | tilghman | 2009-02-27 15:32:13 -0600 (Fri, 27 Feb 2009) | 3 lines If config file is blank, don't load module. (Closes issue #14563) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@179163 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 afb4774db..6c9a431bd 100644
--- a/cdr/cdr_sqlite3_custom.c
+++ b/cdr/cdr_sqlite3_custom.c
@@ -176,7 +176,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 */