diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-14 15:42:27 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-09-14 15:42:27 +0000 |
commit | a888cdd5355a09ecbc9a1816e5697d086a4efe39 (patch) | |
tree | 8d8b015241d7d4ed65b20f774f9fbf15f525416e /channels | |
parent | fa90a11d694f659afe1b8f53d5792043fbf6a36e (diff) |
don't die if skinny cannot figure out hostname
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1519 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_skinny.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c index 55598c7ff..e097499b0 100755 --- a/channels/chan_skinny.c +++ b/channels/chan_skinny.c @@ -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); |