Port r706574 from tcnative trunk to tc trunk.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 1 Jan 2009 13:11:25 +0000 (13:11 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 1 Jan 2009 13:11:25 +0000 (13:11 +0000)
"Fix API function name recvFrom -> recvfrom."
Function is actually not used in TC trunk.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@730542 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/jni/Socket.java

index 969a16b..baafd15 100644 (file)
@@ -387,7 +387,7 @@ public class Socket {
      * @param nbytes The number of bytes to read (-1) for full array.
      * @return the number of bytes received.
      */
-    public static native int recvFrom(long from, long sock, int flags,
+    public static native int recvfrom(long from, long sock, int flags,
                                       byte[] buf, int offset, int nbytes);
 
     /**