hgomez      2004/07/12 23:50:57

  Modified:    jk/native/common jk_connect.c
  Log:
  Ensure the sockaddr_in is correctly initialized
  
  Revision  Changes    Path
  1.21      +3 -1      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.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- jk_connect.c      16 Mar 2004 11:12:59 -0000      1.20
  +++ jk_connect.c      13 Jul 2004 06:50:57 -0000      1.21
  @@ -47,6 +47,8 @@
   {
       int x;
   
  +    memset(rc, 0, sizeof(sockaddr_in));
  +
       /* TODO: Should be updated for IPV6 support. */
       /* for now use the correct type, in_addr_t */    
       /* except on NetWare since the MetroWerks compiler is so strict */
  
  
  

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

Reply via email to