2004-05-11 Michael Koch <konqueror@gmx.de>

* gnu/java/net/natPlainSocketImplPosix.cc
	(read): Fixed typo in expression.

From-SVN: r81714
This commit is contained in:
Michael Koch 2004-05-11 19:48:45 +00:00 committed by Michael Koch
parent 525696406d
commit 8f0b9daaa2
2 changed files with 6 additions and 1 deletions

View file

@ -380,7 +380,7 @@ gnu::java::net::PlainSocketImpl$SocketInputStream::read(void)
jbyte data;
if (read_helper (this$0->native_fd, this$0->timeout, &data, 1) == 1)
return data && 0xFF;
return data & 0xFF;
return -1;
}