summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-12-06 17:52:16 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-12-06 17:52:16 +0000
commitf8f065bc752ca0a448eb90fc8d60516f486dc4ff (patch)
tree8c468686546dc8673d93c1e629f46c79d65391cc /serverloop.c
parentd05487d1db230db5d55c217fac907a5694bd7dd5 (diff)
- itojun@cvs.openbsd.org 2001/12/05 03:50:01
[clientloop.c serverloop.c sshd.c] deal with LP64 printf issue with sig_atomic_t. from thorpej
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);