diff --git a/WIN32-Code/win32.c b/WIN32-Code/win32.c index 4c316c9a..d809bf2e 100644 --- a/WIN32-Code/win32.c +++ b/WIN32-Code/win32.c @@ -327,7 +327,7 @@ win32_dispatch(struct event_base *base, struct timeval *tv) if (win32op->exset_out->fd_count) { i = rand() % win32op->exset_out->fd_count; for (j=0; jexset_out->fd_count; ++j) { - if (++i >= win32op-exset_out->fd_count) + if (++i >= win32op->exset_out->fd_count) i = 0; s = win32op->exset_out->fd_array[i]; evmap_io_active(base, s, EV_READ); @@ -336,7 +336,7 @@ win32_dispatch(struct event_base *base, struct timeval *tv) if (win32op->writeset_out->fd_count) { i = rand() % win32op->writeset_out->fd_count; for (j=0; jwriteset_out->fd_count; ++j) { - if (++i >= win32op-exset_out->fd_count) + if (++i >= win32op->writeset_out->fd_count) i = 0; SOCKET s = win32op->writeset_out->fd_array[i]; evmap_io_active(base, s, EV_WRITE);