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:
Anthony Green 2005-06-06 06:17:28 +00:00 committed by Anthony Green
parent 7721d5d4cb
commit c8891bef49
2 changed files with 6 additions and 0 deletions

View file

@ -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"));