tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/native/src network.c
Date Sat, 05 Feb 2005 12:33:09 GMT
mturk       2005/02/05 04:33:09

  Modified:    jni/native/src network.c
  Log:
  Fix accept call returning newly accepted socket.
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-tomcat-connectors/jni/native/src/network.c
  
  Index: network.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/src/network.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- network.c	14 Jan 2005 13:47:58 -0000	1.1
  +++ network.c	5 Feb 2005 12:33:09 -0000	1.2
  @@ -159,7 +159,7 @@
       TCN_THROW_IF_ERR(apr_socket_accept(&n, s, p), s);
   
   cleanup:
  -    return P2J(s);
  +    return P2J(n);
   }
   
   TCN_IMPLEMENT_CALL(jint, Socket, connect)(TCN_STDARGS, jlong sock,
  
  
  

---------------------------------------------------------------------
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