]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 179161 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 27 Feb 2009 21:34:10 +0000 (21:34 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 27 Feb 2009 21:34:10 +0000 (21:34 +0000)
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: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@179163 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_sqlite3_custom.c

index afb4774db549e61f2b80be7fc393b45f3cfaaa46..6c9a431bd76f19e90a1cb87cf1ac6a4ae000b2a4 100644 (file)
@@ -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 */