ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.373 by root, Sun Feb 20 02:56:23 2011 UTC vs.
Revision 1.374 by root, Sat Feb 26 15:21:01 2011 UTC

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 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines