* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Fix typo.

From-SVN: r36170
This commit is contained in:
Bryce McKinlay 2000-09-05 23:04:46 +00:00 committed by Bryce McKinlay
parent d8d7a2867b
commit 56042127de
2 changed files with 4 additions and 3 deletions

View File

@ -2,12 +2,13 @@
* java/net/natPlainDatagramSocketImpl.cc: Change various `JvThrow'
calls to `throw'.
(send): Undo last patch.
Remove the label only.
(send): Undo last patch. Remove the label only.
(mcastGrp): Ditto.
* java/net/natPlainSocketImpl.cc: Change various `JvThrow' calls to
`throw'.
* java/net/natInetAdress.cc: Ditto.
* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Fix typo.
2000-09-05 Tom Tromey <tromey@cygnus.com>

View File

@ -428,7 +428,7 @@ java::net::PlainDatagramSocketImpl::mcastGrp (java::net::InetAddress *inetaddr,
else
throw new java::net::SocketException (JvNewStringUTF ("invalid length"));
if (::setsockopt (fnum, level, opname, ptr, len) != 0)
if (::setsockopt (fnum, level, opname, ptr, len) == 0)
return;
char* strerr = strerror (errno);