summaryrefslogtreecommitdiff
path: root/ACE/ace/SOCK_Dgram.cpp
diff options
context:
space:
mode:
authorTimothy Simpson <simpsont@objectcomputing.com>2020-08-05 16:32:50 -0500
committerTimothy Simpson <simpsont@objectcomputing.com>2020-08-05 16:32:50 -0500
commit2811aeb66529f61d5b46d4b93de7707f9e1faa66 (patch)
treece3211330e7320846475addb1e9fdab974d03832 /ACE/ace/SOCK_Dgram.cpp
parent432602450f8a0b164550a9341cd94bceb1484259 (diff)
downloadATCD-2811aeb66529f61d5b46d4b93de7707f9e1faa66.tar.gz
formatting changes per guidelines
Diffstat (limited to 'ACE/ace/SOCK_Dgram.cpp')
-rw-r--r--ACE/ace/SOCK_Dgram.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/ACE/ace/SOCK_Dgram.cpp b/ACE/ace/SOCK_Dgram.cpp
index f9652100e37..ac7ead7c8a7 100644
--- a/ACE/ace/SOCK_Dgram.cpp
+++ b/ACE/ace/SOCK_Dgram.cpp
@@ -673,7 +673,7 @@ ACE_SOCK_Dgram::make_multicast_ifaddr (ip_mreq *ret_mreq,
ACE_INET_Addr interface_addr;
if (interface_addr.set (mcast_addr.get_port_number (), net_if) == -1)
{
-#ifdef ACE_WIN32
+#ifdef (ACE_WIN32)
IP_ADAPTER_ADDRESSES tmp_addrs;
// Initial call to determine actual memory size needed
ULONG bufLen = 0;
@@ -827,10 +827,11 @@ ACE_SOCK_Dgram::make_multicast_ifaddr6 (ipv6_mreq *ret_mreq,
}
#endif /* ACE_LACKS_IF_NAMETOINDEX */
- if (lmreq.ipv6mr_interface == 0) {
- errno = EINVAL;
- return -1;
- }
+ if (lmreq.ipv6mr_interface == 0)
+ {
+ errno = EINVAL;
+ return -1;
+ }
}
#else /* ACE_WIN32 || !ACE_LACKS_IF_NAMETOINDEX */
ACE_UNUSED_ARG(net_if);