diff options
author | Doug Barton <dougb@FreeBSD.org> | 2008-09-01 20:53:25 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2008-09-01 20:53:25 +0000 |
commit | ca732c8b83a6bb3115b1bebf77d19d83b2cf0dc9 (patch) | |
tree | 00951e23479d720f88789ce68ce281d7f6f81024 /lib/isc/unix/app.c | |
parent | 82b3dc06d3dc3c698029580e543f22bad8d5f17b (diff) |
Notes
Diffstat (limited to 'lib/isc/unix/app.c')
-rw-r--r-- | lib/isc/unix/app.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/isc/unix/app.c b/lib/isc/unix/app.c index 59b1f6cc9724..b71d766eb551 100644 --- a/lib/isc/unix/app.c +++ b/lib/isc/unix/app.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: app.c,v 1.50.18.2 2005/04/29 00:17:06 marka Exp $ */ +/* $Id: app.c,v 1.50.18.2.50.1 2008/07/29 04:47:31 each Exp $ */ /*! \file */ @@ -303,7 +303,7 @@ evloop() { int n; isc_time_t when, now; struct timeval tv, *tvp; - fd_set readfds, writefds; + fd_set *readfds, *writefds; int maxfd; isc_boolean_t readytasks; isc_boolean_t call_timer_dispatch = ISC_FALSE; @@ -332,7 +332,7 @@ evloop() { } isc__socketmgr_getfdsets(&readfds, &writefds, &maxfd); - n = select(maxfd, &readfds, &writefds, NULL, tvp); + n = select(maxfd, readfds, writefds, NULL, tvp); if (n == 0 || call_timer_dispatch) { /* @@ -352,7 +352,7 @@ evloop() { isc__timermgr_dispatch(); } if (n > 0) - (void)isc__socketmgr_dispatch(&readfds, &writefds, + (void)isc__socketmgr_dispatch(readfds, writefds, maxfd); (void)isc__taskmgr_dispatch(); |