aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-27 21:33:31 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-27 21:33:31 +0000
commit5d65febc8a518eb1d1eb03746493da902b80850c (patch)
tree320d598cea7683459a21b7ab257b2317a5b39d36
parent2ad8eec5319c80b4934d289fd6d94c5859400b8d (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.0@179162 f38db490-d61c-443f-a65b-d21fe96a405b
-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 b617ab579..a2027fe58 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 */