hgomez      2004/07/14 01:37:05

  Modified:    jk/native/common jk_connect.c
  Log:
  For now the sa_len is set only when using iSeries in Unix 98 mode...
  
  Revision  Changes    Path
  1.25      +2 -2      jakarta-tomcat-connectors/jk/native/common/jk_connect.c
  
  Index: jk_connect.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_connect.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- jk_connect.c      13 Jul 2004 11:08:17 -0000      1.24
  +++ jk_connect.c      14 Jul 2004 08:37:05 -0000      1.25
  @@ -145,7 +145,7 @@
                      
   /* Need more infos for BSD 4.4 and Unix 98 defines, for now only 
      iSeries when Unix98 is required at compil time */
  -#if (_XOPEN_SOURCE >= 520)
  +#if (_XOPEN_SOURCE >= 520) && defined(AS400)
               ((struct sockaddr *)addr)->sa_len = sizeof(struct sockaddr_in));
   #endif 
               ret = connect(sock,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to