From 70defe19fe2354758fc1536757eed4b470ebdac1 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Fri, 26 May 2006 03:08:15 +0000 Subject: [PATCH] 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 --- funcs/func_odbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c index 1dfc778e11..887e26ba14 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);