summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index dc737b2..d92b0ed 100644
--- a/ev.c
+++ b/ev.c
@@ -1036,7 +1036,7 @@ fd_reify (EV_P)
int fd = fdchanges [i];
ANFD *anfd = anfds + fd;
- if (anfd->reify & EV__IOFDSET)
+ if (anfd->reify & EV__IOFDSET && anfd->head)
{
SOCKET handle = EV_FD_TO_WIN32_HANDLE (fd);