aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-26 03:08:15 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-26 03:08:15 +0000
commit25efaf1f71279ac00de053b134d7c01b8cc82d68 (patch)
tree69d2fb04d7d829b1af92daad82881868b1da4df5 /funcs
parent8e943de284e629aae46b2244db9f69a09861afb2 (diff)
Lets not commit things that cause Asterisk to break when config files aren't present.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30490 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 1dfc778e1..887e26ba1 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -539,9 +539,9 @@ static int odbc_load_module(void)
cfg = ast_config_load(config);
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);
- return -1;
+ return 0;
}
for (catg = ast_category_browse(cfg, NULL);