… | |
… | |
1034 | for (i = 0; i < fdchangecnt; ++i) |
1034 | for (i = 0; i < fdchangecnt; ++i) |
1035 | { |
1035 | { |
1036 | int fd = fdchanges [i]; |
1036 | int fd = fdchanges [i]; |
1037 | ANFD *anfd = anfds + fd; |
1037 | ANFD *anfd = anfds + fd; |
1038 | |
1038 | |
1039 | if (anfd->reify & EV__IOFDSET) |
1039 | if (anfd->reify & EV__IOFDSET && anfd->head) |
1040 | { |
1040 | { |
1041 | SOCKET handle = EV_FD_TO_WIN32_HANDLE (fd); |
1041 | SOCKET handle = EV_FD_TO_WIN32_HANDLE (fd); |
1042 | |
1042 | |
1043 | if (handle != anfd->handle) |
1043 | if (handle != anfd->handle) |
1044 | { |
1044 | { |