jerenkrantz 2004/04/03 21:25:31
Modified: network_io/unix Tag: APR_0_9_BRANCH sockopt.c
Log:
Adjust for different prototype for apr_set_option between 0.9 and HEAD.
Revision Changes Path
No revision
No revision
1.70.2.7 +1 -1 apr/network_io/unix/sockopt.c
Index: sockopt.c
===================================================================
RCS file: /home/cvs/apr/network_io/unix/sockopt.c,v
retrieving revision 1.70.2.6
retrieving revision 1.70.2.7
diff -u -u -r1.70.2.6 -r1.70.2.7
--- sockopt.c 3 Apr 2004 17:22:06 -0000 1.70.2.6
+++ sockopt.c 4 Apr 2004 05:25:31 -0000 1.70.2.7
@@ -295,7 +295,7 @@
(void *)&on, sizeof(int)) == -1) {
return errno;
}
- apr_set_option(sock, APR_IPV6_V6ONLY, on);
+ apr_set_option(&sock->netmask, APR_IPV6_V6ONLY, on);
#else
return APR_ENOTIMPL;
#endif