Skip to content

Commit

Permalink
native: Fix error handling in Windows, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Apr 18, 2024
1 parent c7d4f71 commit dca0a7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions junixsocket-native/src/main/c/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ int jux_mangleErrno(int err) {
return EALREADY;
case WSAECONNRESET:
return ECONNRESET;
case WSAECONNABORTED:
return ECONNABORTED;
default:
return err;
}
Expand Down

0 comments on commit dca0a7a

Please sign in to comment.