summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-12-06 16:48:14 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-12-06 16:48:14 +0000
commit5e71c54b8c642f0aa5273dfcff75c8a8def820dd (patch)
tree7603d371661f86b6f8206b53d2aaa9584943af54 /serverloop.c
parent28c603bf438eb44092490cfd8e2979987a846f06 (diff)
- markus@cvs.openbsd.org 2001/11/22 12:34:22
[clientloop.c serverloop.c sshd.c] volatile sig_atomic_t
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index 0da805f0..fd115415 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: serverloop.c,v 1.83 2001/11/09 18:59:23 markus Exp $");
+RCSID("$OpenBSD: serverloop.c,v 1.84 2001/11/22 12:34:22 markus Exp $");
#include "xmalloc.h"
#include "packet.h"
@@ -87,7 +87,7 @@ static int client_alive_timeouts = 0;
* will exit after that, as soon as forwarded connections have terminated.
*/
-static volatile int child_terminated; /* The child has terminated. */
+static volatile sig_atomic_t child_terminated = 0; /* The child has terminated. */
/* prototypes */
static void server_init_dispatch(void);