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
This commit is contained in:
parent
fa90a11d69
commit
a888cdd535
|
@ -2473,7 +2473,7 @@ static int reload_config(void)
|
||||||
|
|
||||||
if (gethostname(ourhost, sizeof(ourhost))) {
|
if (gethostname(ourhost, sizeof(ourhost))) {
|
||||||
ast_log(LOG_WARNING, "Unable to get hostname, Skinny disabled\n");
|
ast_log(LOG_WARNING, "Unable to get hostname, Skinny disabled\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
cfg = ast_load(config);
|
cfg = ast_load(config);
|
||||||
|
|
||||||
|
|
Reference in New Issue