From a43a1c2b237b2bcd0806635055a62f7406a16f2f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 28 May 2009 20:44:04 +0000 Subject: [PATCH] Fix compilation problems in win32.c svn:r1322 --- WIN32-Code/win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.40.0