aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2005-06-06 06:17:28 +0000
committerAnthony Green <green@gcc.gnu.org>2005-06-06 06:17:28 +0000
commitc8891bef494c6868b9a26a2ce8f553c3e04f9b00 (patch)
tree36ecf388b3f7670be479850e0d1cce82bd14eefa /libjava/gnu/java
parent7721d5d4cbf97af942031e4e2b909808a1fef78f (diff)
downloadgcc-c8891bef494c6868b9a26a2ce8f553c3e04f9b00.zip
gcc-c8891bef494c6868b9a26a2ce8f553c3e04f9b00.tar.gz
gcc-c8891bef494c6868b9a26a2ce8f553c3e04f9b00.tar.bz2
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
Diffstat (limited to 'libjava/gnu/java')
-rw-r--r--libjava/gnu/java/net/natPlainSocketImplPosix.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/gnu/java/net/natPlainSocketImplPosix.cc b/libjava/gnu/java/net/natPlainSocketImplPosix.cc
index 3f1dde9..5f6f046 100644
--- a/libjava/gnu/java/net/natPlainSocketImplPosix.cc
+++ b/libjava/gnu/java/net/natPlainSocketImplPosix.cc
@@ -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"));