Skip to content

Commit

Permalink
read returns error value
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruby Martin committed Jul 18, 2024
1 parent bef6379 commit 8f3fc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/com_wolfssl_WolfSSLSession.c
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_read
ret == WOLFJNI_IO_EVENT_FAIL) {
/* Java will throw SocketTimeoutException or
* SocketException */
break;
return ret;
} else {
/* other error occurred */
size = ret;
Expand Down

0 comments on commit 8f3fc97

Please sign in to comment.