mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
chan_ooh323: Fix confusing indentation warning
ASTERISK-27177 #close Reported by: Tzafrir Cohen Change-Id: I40311c404edb2302a7543ad5ca7a06b2a38f2d97
This commit is contained in:
@@ -384,7 +384,7 @@ int ooSocketAccept (OOSOCKET socket, OOSOCKET *pNewSocket,
|
|||||||
if (*pNewSocket <= 0) return ASN_E_INVSOCKET;
|
if (*pNewSocket <= 0) return ASN_E_INVSOCKET;
|
||||||
|
|
||||||
if (destAddr != 0) {
|
if (destAddr != 0) {
|
||||||
if ((host = ast_sockaddr_stringify_addr(&addr)) != NULL);
|
if ((host = ast_sockaddr_stringify_addr(&addr)) != NULL)
|
||||||
strncpy(destAddr, host, strlen(host));
|
strncpy(destAddr, host, strlen(host));
|
||||||
}
|
}
|
||||||
if (destPort != 0)
|
if (destPort != 0)
|
||||||
|
Reference in New Issue
Block a user