From: Mark Spencer Date: Sun, 14 Sep 2003 04:03:28 +0000 (+0000) Subject: Don't die if no skinny config X-Git-Tag: 0.7.0~495 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d6f33f273d63c3abd107dcd46bea63850af560ab;p=thirdparty%2Fasterisk.git Don't die if no skinny config git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1517 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 3017fe1e0f..7d7e3f09f1 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -2473,14 +2473,14 @@ static int reload_config(void) if (gethostname(ourhost, sizeof(ourhost))) { ast_log(LOG_WARNING, "Unable to get hostname, Skinny disabled\n"); - return 1; + return 0; } cfg = ast_load(config); /* We *must* have a config file otherwise stop immediately */ if (!cfg) { ast_log(LOG_NOTICE, "Unable to load config %s, Skinny disabled\n", config); - return 1; + return 0; } /* load the general section */