2003-10-08 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SocketChannelImpl.java (read): Write only read data to buffer. From-SVN: r72232
This commit is contained in:
committed by
Michael Koch
parent
ce7a72c80d
commit
36805693cb
@@ -250,7 +250,7 @@ public final class SocketChannelImpl extends SocketChannel
|
||||
if (readBytes > 0
|
||||
&& !dst.hasArray())
|
||||
{
|
||||
dst.put (data);
|
||||
dst.put (data, offset, len);
|
||||
}
|
||||
|
||||
return readBytes;
|
||||
|
||||
Reference in New Issue
Block a user