tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_channel_socket.c
Date Fri, 24 Oct 2003 11:51:35 GMT
andya       2003/10/24 04:51:35

  Modified:    jk/native2/common jk_channel_socket.c
  Log:
  Added typedef for in_addr_t ifdef WIN32
  
  Revision  Changes    Path
  1.59      +4 -1      jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c
  
  Index: jk_channel_socket.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- jk_channel_socket.c	16 Oct 2003 08:41:06 -0000	1.58
  +++ jk_channel_socket.c	24 Oct 2003 11:51:35 -0000	1.59
  @@ -82,6 +82,9 @@
   #ifndef WIN32
       #define closesocket         close
   #endif
  +#ifdef WIN32
  +	typedef u_long in_addr_t;
  +#endif
   
   #ifdef HAS_APR
   #include "apr_network_io.h"
  @@ -280,7 +283,7 @@
   
       /* TODO: Should be updated for IPV6 support. */
       /* for now use the correct type, in_addr_t   */    
  -    in_addr_t laddr;
  +	in_addr_t laddr;
       
       rc->sin_port   = htons((short)port);
       rc->sin_family = AF_INET;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message