You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2003/09/02 10:17:02 UTC

cvs commit: apr/build apr_network.m4

jorton      2003/09/02 01:17:01

  Modified:    build    apr_network.m4
  Log:
  Use correct _len field in APR_CHECK_WORKING_GETNAMEINFO.
  
  Revision  Changes    Path
  1.22      +1 -1      apr/build/apr_network.m4
  
  Index: apr_network.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_network.m4,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -u -r1.21 -r1.22
  --- apr_network.m4	31 Aug 2003 18:14:38 -0000	1.21
  +++ apr_network.m4	2 Sep 2003 08:17:01 -0000	1.22
  @@ -182,7 +182,7 @@
       addr32[3] = ipv4.s_addr;
   
   #ifdef SIN6_LEN
  -    sa.sin_len = sizeof(sa);
  +    sa.sin6_len = sizeof(sa);
   #endif
   
       error = getnameinfo((const struct sockaddr *)&sa, sizeof(sa),