diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-28 20:44:04 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-28 20:44:04 +0000 |
commit | a43a1c2b237b2bcd0806635055a62f7406a16f2f (patch) | |
tree | f4140c14c6d96ce17cd350c1ce9e026940bbce8f /WIN32-Code | |
parent | eb97bb76e1a99eed4850f78421392f4765c63a73 (diff) | |
download | libevent-a43a1c2b237b2bcd0806635055a62f7406a16f2f.tar.gz |
Fix compilation problems in win32.c
svn:r1322
Diffstat (limited to 'WIN32-Code')
-rw-r--r-- | WIN32-Code/win32.c | 4 |
1 files 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; j<win32op->exset_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; j<win32op->writeset_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); |