You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by je...@apache.org on 2001/07/23 09:13:53 UTC
cvs commit: apr/test testsockets.c
jerenkrantz 01/07/23 00:13:53
Modified: test testsockets.c
Log:
Fix compilation error when on non-IPv6 platforms
Revision Changes Path
1.4 +4 -0 apr/test/testsockets.c
Index: testsockets.c
===================================================================
RCS file: /home/cvs/apr/test/testsockets.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- testsockets.c 2001/07/18 16:51:49 1.3
+++ testsockets.c 2001/07/23 07:13:53 1.4
@@ -91,7 +91,11 @@
char recvbuf[80];
char *ip_addr;
apr_port_t fromport;
+#if APR_HAVE_IPV6
int family = APR_INET6;
+#else
+ int family = APR_INET;
+#endif
STD_TEST_NEQ("Initializing APR", apr_initialize())