From 4b448c72d76f6aaa72ba5de2f8bdce08d2340fd0 Mon Sep 17 00:00:00 2001 From: tilghman Date: Fri, 27 Feb 2009 21:34:10 +0000 Subject: 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 --- cdr/cdr_sqlite3_custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3