apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/test testsockets.c
Date Mon, 23 Jul 2001 07:13:53 GMT
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())
   
  
  
  

Mime
View raw message