apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r608331 - /apr/apr/branches/1.2.x/network_io/unix/multicast.c
Date Thu, 03 Jan 2008 03:39:07 GMT
Author: wrowe
Date: Wed Jan  2 19:39:06 2008
New Revision: 608331

URL: http://svn.apache.org/viewvc?rev=608331&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

Backport: 608330

Modified:
    apr/apr/branches/1.2.x/network_io/unix/multicast.c

Modified: apr/apr/branches/1.2.x/network_io/unix/multicast.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/network_io/unix/multicast.c?rev=608331&r1=608330&r2=608331&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/network_io/unix/multicast.c (original)
+++ apr/apr/branches/1.2.x/network_io/unix/multicast.c Wed Jan  2 19:39:06 2008
@@ -136,7 +136,7 @@
 #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
@@ -148,7 +148,7 @@
     }
 
     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