Loading src/common/compat.c +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ const char compat_c_id[] = "$Id$"; #define _GNU_SOURCE #include "orconfig.h" #include "fakepoll.h" #include "compat.h" #ifdef MS_WINDOWS Loading src/common/fakepoll.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) for (idx = 0; idx < nfds; ++idx) { ufds[idx].revents = 0; fd = ufds[idx].fd; tor_assert(SOCKET_SEEMS_POLLABLE(fd)); tor_assert(SOCKET_IS_POLLABLE(fd)); if (fd > maxfd) { maxfd = fd; #ifdef MS_WINDOWS Loading Loading
src/common/compat.c +1 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ const char compat_c_id[] = "$Id$"; #define _GNU_SOURCE #include "orconfig.h" #include "fakepoll.h" #include "compat.h" #ifdef MS_WINDOWS Loading
src/common/fakepoll.c +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) for (idx = 0; idx < nfds; ++idx) { ufds[idx].revents = 0; fd = ufds[idx].fd; tor_assert(SOCKET_SEEMS_POLLABLE(fd)); tor_assert(SOCKET_IS_POLLABLE(fd)); if (fd > maxfd) { maxfd = fd; #ifdef MS_WINDOWS Loading