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/java/org/apache/tomcat/jni Socket.java
Date Sat, 05 Feb 2005 12:31:05 GMT
mturk       2005/02/05 04:31:05

  Modified:    jni/java/org/apache/tomcat/jni Socket.java
  Log:
  Fix native call naming for recvFrom
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Socket.java
  
  Index: Socket.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Socket.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Socket.java	14 Jan 2005 14:42:37 -0000	1.2
  +++ Socket.java	5 Feb 2005 12:31:05 -0000	1.3
  @@ -245,8 +245,8 @@
        * @param nbytes The number of bytes to read (-1) for full array.
        * @return the number of bytes received.
        */
  -    public static native int recv(long from, long sock, int flags,
  -                                  byte[] buf, int nbytes)
  +    public static native int recvFrom(long from, long sock, int flags,
  +                                      byte[] buf, int nbytes)
           throws Error;
   
   
  
  
  

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