Fix compile error.

(issue ASTERISK-20724)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@376864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2012-11-29 22:29:03 +00:00
parent febd1bc0b4
commit a6ea86f435

View File

@@ -16377,7 +16377,7 @@ static void check_via(struct sip_pvt *p, struct sip_request *req)
if (ast_sockaddr_resolve_first(&tmp, c, 0)) {
ast_log(LOG_WARNING, "Could not resolve socket address for '%s'\n", c);
port = STANDARD_SIP_PORT;
} else if (!(port = ast_sockaddr_port(&tmp)) {
} else if (!(port = ast_sockaddr_port(&tmp))) {
port = STANDARD_SIP_PORT;
}