commit | 83585e2cfa1053b705f8592e6bbceb04cfeef028 | [log] [tgz] |
---|---|---|
author | Garrett D'Amore <garrett@damore.org> | Tue Apr 10 23:31:35 2018 -0700 |
committer | Garrett D'Amore <garrett@damore.org> | Tue Apr 10 23:31:35 2018 -0700 |
tree | f6074387ec796c023a896cc280d9d13d47c5590f | |
parent | 0a5f20252d5be187abf55ac9cb614a8b7872c198 [diff] |
fixes #933 Assertion failed: [10054] in efd_unsignal
diff --git a/src/utils/efd_win.inc b/src/utils/efd_win.inc index 3a7ea66..20e3e3f 100644 --- a/src/utils/efd_win.inc +++ b/src/utils/efd_win.inc
@@ -263,7 +263,7 @@ if (rc == SOCKET_ERROR && WSAGetLastError () == WSAEWOULDBLOCK) rc = 0; wsa_assert (rc != SOCKET_ERROR); - if (nn_fast (rc < sizeof (buf))) + if ((rc == SOCKET_ERROR) || (rc < sizeof (buf))) break; } }