diff options
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -504,8 +504,10 @@ enet_socket_receive (ENetSocket socket, switch (errno) { case EWOULDBLOCK: - case EINTR: return 0; + case EINTR: + case EMSGSIZE: + return -2; default: return -1; } |