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
This commit is contained in:
Tilghman Lesher
2009-02-27 21:32:13 +00:00
parent a80ef0ca1e
commit 31ae1bfa0d

View File

@@ -172,7 +172,7 @@ static int load_config(int reload)
/* Nothing configured */ /* Nothing configured */
ast_mutex_unlock(&lock); ast_mutex_unlock(&lock);
ast_config_destroy(cfg); ast_config_destroy(cfg);
return 0; return -1;
} }
/* Mapping must have a table name */ /* Mapping must have a table name */