* java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Fix typo.
From-SVN: r36170
This commit is contained in:
parent
d8d7a2867b
commit
56042127de
@ -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>
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user