harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r527861 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java
Date Thu, 12 Apr 2007 09:48:09 GMT
Author: pyang
Date: Thu Apr 12 02:48:08 2007
New Revision: 527861

URL: http://svn.apache.org/viewvc?view=rev&rev=527861
Log:
Apply patch for HARMONY-3603([classlib][luni]SocketImpl.write() send twice)

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java?view=diff&rev=527861&r1=527860&r2=527861
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/SocketImpl.java Thu
Apr 12 02:48:08 2007
@@ -304,8 +304,8 @@
      */
     int write(byte[] buffer, int offset, int count) throws IOException {
         if (!streaming) {
-            this.netImpl
-                    .sendDatagram2(fd, buffer, offset, count, port, address);
+            return this.netImpl.sendDatagram2(fd, buffer, offset, count, port,
+                    address);
         }
         return this.netImpl.sendStream(fd, buffer, offset, count);
     }



Mime
View raw message