diff options
| -rw-r--r-- | core/jni/android_net_LocalSocketImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android_net_LocalSocketImpl.cpp b/core/jni/android_net_LocalSocketImpl.cpp index 42cf1f479122..9bd07007586c 100644 --- a/core/jni/android_net_LocalSocketImpl.cpp +++ b/core/jni/android_net_LocalSocketImpl.cpp @@ -257,7 +257,7 @@ static jint socket_read (JNIEnv *env, jobject object, jobject fileDescriptor) err = socket_read_all(env, object, fd, &buf, 1); if (err < 0) { - jniThrowIOException(env, errno); + // socket_read_all has already thrown return (jint)0; } |