don't die if skinny cannot figure out hostname
authorJeremy McNamara <jj@nufone.net>
Sun, 14 Sep 2003 15:42:27 +0000 (15:42 +0000)
committerJeremy McNamara <jj@nufone.net>
Sun, 14 Sep 2003 15:42:27 +0000 (15:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index 55598c7..e097499 100755 (executable)
@@ -2473,7 +2473,7 @@ 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);