mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Lets not commit things that cause Asterisk to break when config files aren't present.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -539,9 +539,9 @@ static int odbc_load_module(void)
|
|||||||
|
|
||||||
cfg = ast_config_load(config);
|
cfg = ast_config_load(config);
|
||||||
if (!cfg) {
|
if (!cfg) {
|
||||||
ast_log(LOG_WARNING, "Unable to load config for func_odbc: %s\n", config);
|
ast_log(LOG_NOTICE, "Unable to load config for func_odbc: %s\n", config);
|
||||||
AST_LIST_UNLOCK(&queries);
|
AST_LIST_UNLOCK(&queries);
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (catg = ast_category_browse(cfg, NULL);
|
for (catg = ast_category_browse(cfg, NULL);
|
||||||
|
Reference in New Issue
Block a user