diff options
author | Anthony Green <green@redhat.com> | 2005-06-06 06:17:28 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2005-06-06 06:17:28 +0000 |
commit | c8891bef494c6868b9a26a2ce8f553c3e04f9b00 (patch) | |
tree | 36ecf388b3f7670be479850e0d1cce82bd14eefa /libjava/gnu/java | |
parent | 7721d5d4cbf97af942031e4e2b909808a1fef78f (diff) | |
download | gcc-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.cc | 1 |
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")); |