trawick 2002/07/11 07:32:37
Modified: poll/unix poll.c
Log:
fix an apparent bug in the select() implementation of apr_poll()
(untested)
Revision Changes Path
1.3 +1 -1 apr/poll/unix/poll.c
Index: poll.c
===================================================================
RCS file: /home/cvs/apr/poll/unix/poll.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- poll.c 11 Jul 2002 06:22:22 -0000 1.2
+++ poll.c 11 Jul 2002 14:32:37 -0000 1.3
@@ -314,7 +314,7 @@
aprset[i].revents |= APR_POLLOUT;
}
if (FD_ISSET(fd, &exceptset)) {
- aprset[i].events |= APR_POLLERR;
+ aprset[i].revents |= APR_POLLERR;
}
}