Skip to content
Snippets Groups Projects
Commit 31ae1bfa authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

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
parent a80ef0ca
No related branches found
No related tags found
No related merge requests found
...@@ -172,7 +172,7 @@ static int load_config(int reload) ...@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment