chan_ooh323: Fix confusing indentation warning

ASTERISK-27177 #close
Reported by: Tzafrir Cohen

Change-Id: I40311c404edb2302a7543ad5ca7a06b2a38f2d97
This commit is contained in:
Sean Bright
2017-09-01 14:15:40 -04:00
parent 991750d3f1
commit ef8eb9d11b

View File

@@ -384,7 +384,7 @@ int ooSocketAccept (OOSOCKET socket, OOSOCKET *pNewSocket,
if (*pNewSocket <= 0) return ASN_E_INVSOCKET;
if (destAddr != 0) {
if ((host = ast_sockaddr_stringify_addr(&addr)) != NULL);
if ((host = ast_sockaddr_stringify_addr(&addr)) != NULL)
strncpy(destAddr, host, strlen(host));
}
if (destPort != 0)