apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: apr/network_io/unix sa_common.c
Date Tue, 31 Jul 2001 05:59:36 GMT
jerenkrantz    01/07/30 22:59:36

  Modified:    network_io/unix sa_common.c
  Log:
  Remove the dependency on IPv6 for getnameinfo().  A system can have
  getnameinfo(), but not IPv6.  (Solaris 7.)
  
  I made a similar change for getaddrinfo a week or two ago.  No complaints
  so far for that commit, so see how this fares.
  
  Revision  Changes    Path
  1.41      +1 -1      apr/network_io/unix/sa_common.c
  
  Index: sa_common.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sa_common.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- sa_common.c	2001/07/31 02:10:11	1.40
  +++ sa_common.c	2001/07/31 05:59:36	1.41
  @@ -487,7 +487,7 @@
                                             apr_sockaddr_t *sockaddr,
                                             apr_int32_t flags)
   {
  -#if defined(HAVE_GETNAMEINFO) && APR_HAVE_IPV6
  +#if defined(HAVE_GETNAMEINFO)
       int rc;
   #if defined(NI_MAXHOST)
       char tmphostname[NI_MAXHOST];
  
  
  

Mime
View raw message