apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r608330 - /apr/apr/trunk/network_io/unix/multicast.c
Date Thu, 03 Jan 2008 03:37:19 GMT
Author: wrowe
Date: Wed Jan  2 19:37:18 2008
New Revision: 608330

URL: http://svn.apache.org/viewvc?rev=608330&view=rev
Log:
Solve mis-handling of struct group_source_req on Win32 by using
a conditional macro GROUP_FILTER_SIZE in leiu of the unconditionally
declared MCAST_JOIN_SOURCE_GROUP

Modified:
    apr/apr/trunk/network_io/unix/multicast.c

Modified: apr/apr/trunk/network_io/unix/multicast.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/network_io/unix/multicast.c?rev=608330&r1=608329&r2=608330&view=diff
==============================================================================
--- apr/apr/trunk/network_io/unix/multicast.c (original)
+++ apr/apr/trunk/network_io/unix/multicast.c Wed Jan  2 19:37:18 2008
@@ -117,13 +117,13 @@
 #if APR_HAVE_IPV6
     struct ipv6_mreq mip6;
 #endif
-#if MCAST_JOIN_SOURCE_GROUP
+#ifdef GROUP_FILTER_SIZE
     struct group_source_req mip;
     int ip_proto;
 #endif
 
     if (source != NULL) {
-#if MCAST_JOIN_SOURCE_GROUP
+#ifdef GROUP_FILTER_SIZE
         if (sock_is_ipv4(sock)) {
             ip_proto = IPPROTO_IP;
         } 



Mime
View raw message