mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
Remove old debug code from http configuration loading
(closes issue ASTERISK-20254) Reported by: Andrew Latham Patches: http.diff uploaded by Andrew Latham (license #5985) ........ Merged revisions 371520 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1056,8 +1056,6 @@ static int __ast_http_load(int reload)
|
|||||||
} else if (!strcasecmp(v->name, "bindaddr")) {
|
} else if (!strcasecmp(v->name, "bindaddr")) {
|
||||||
if (!(num_addrs = ast_sockaddr_resolve(&addrs, v->value, 0, AST_AF_UNSPEC))) {
|
if (!(num_addrs = ast_sockaddr_resolve(&addrs, v->value, 0, AST_AF_UNSPEC))) {
|
||||||
ast_log(LOG_WARNING, "Invalid bind address %s\n", v->value);
|
ast_log(LOG_WARNING, "Invalid bind address %s\n", v->value);
|
||||||
} else {
|
|
||||||
ast_log(LOG_WARNING, "Got %d addresses\n", num_addrs);
|
|
||||||
}
|
}
|
||||||
} else if (!strcasecmp(v->name, "prefix")) {
|
} else if (!strcasecmp(v->name, "prefix")) {
|
||||||
if (!ast_strlen_zero(v->value)) {
|
if (!ast_strlen_zero(v->value)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user