natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug.
2005-06-05 Anthony Green <green@redhat.com> * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Fix case fall-through bug. From-SVN: r100650
This commit is contained in:
parent
7721d5d4cb
commit
c8891bef49
2 changed files with 6 additions and 0 deletions
|
@ -646,6 +646,7 @@ gnu::java::net::PlainSocketImpl::setOption (jint optID, ::java::lang::Object *va
|
|||
if (::setsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val,
|
||||
val_len) != 0)
|
||||
goto error;
|
||||
return;
|
||||
#else
|
||||
throw new ::java::lang::InternalError (
|
||||
JvNewStringUTF ("SO_REUSEADDR not supported"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue