From: Evan Hunt Date: Thu, 11 Apr 2013 04:59:14 +0000 (-0700) Subject: [master] fix build failure on hpux X-Git-Tag: v9.10.0a1~421 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=fce7ba0f07a7b0d96cb6bc0cb78045ed5ad2de36;p=thirdparty%2Fbind9.git [master] fix build failure on hpux --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 2f2774d9a80..2eebf0acb5e 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -1491,8 +1491,9 @@ build_msghdr_send(isc__socket_t *sock, isc_socketevent_t *dev, INSIST(sock->dscp == isc_dscp_check_value); } - if ((sock->type == isc_sockettype_udp) - && ((dev->attributes & ISC_SOCKEVENTATTR_DSCP) != 0)) { + if ((sock->type == isc_sockettype_udp) && + ((dev->attributes & ISC_SOCKEVENTATTR_DSCP) != 0)) + { int dscp = (dev->dscp << 2) & 0xff; #ifdef IP_TOS @@ -1557,8 +1558,8 @@ build_msghdr_send(isc__socket_t *sock, isc_socketevent_t *dev, strbuf); } } - } #endif + } #endif /* USE_CMSG && ISC_PLATFORM_HAVEIPV6 */ #else /* ISC_NET_BSD44MSGHDR */ msg->msg_accrights = NULL;