summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index fd1154157..fd051070d 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: serverloop.c,v 1.84 2001/11/22 12:34:22 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.85 2001/12/05 03:50:01 itojun Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "packet.h" 41#include "packet.h"
@@ -266,7 +266,8 @@ wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp,
266 tvp = &tv; 266 tvp = &tv;
267 } 267 }
268 if (tvp!=NULL) 268 if (tvp!=NULL)
269 debug3("tvp!=NULL kid %d mili %d", child_terminated, max_time_milliseconds); 269 debug3("tvp!=NULL kid %d mili %d", (int) child_terminated,
270 max_time_milliseconds);
270 271
271 /* Wait for something to happen, or the timeout to expire. */ 272 /* Wait for something to happen, or the timeout to expire. */
272 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp); 273 ret = select((*maxfdp)+1, *readsetp, *writesetp, NULL, tvp);