mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Fix compilation problems in win32.c
svn:r1322
This commit is contained in:
parent
eb97bb76e1
commit
a43a1c2b23
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user