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:
parent
ce7a72c80d
commit
36805693cb
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue