apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: apr/network_io/unix sa_common.c
Date Mon, 23 Jul 2001 22:32:06 GMT
dougm       01/07/23 15:32:06

  Modified:    network_io/unix sa_common.c
  Log:
  turn off AI_CANONNAME flag in apr_sockaddr_info_get call to getaddrinfo
  
  Revision  Changes    Path
  1.37      +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.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- sa_common.c	2001/07/23 16:05:00	1.36
  +++ sa_common.c	2001/07/23 22:32:06	1.37
  @@ -341,7 +341,7 @@
           char num[8];
   
           memset(&hints, 0, sizeof(hints));
  -        hints.ai_flags = AI_CANONNAME;
  +        hints.ai_flags = 0; /* XXX: might need a way to turn on AI_CANONNAME */
           hints.ai_family = family;
           hints.ai_socktype = SOCK_STREAM;
           hints.ai_protocol = 0;
  
  
  

Mime
View raw message