diff options
author | Damien Miller <djm@mindrot.org> | 2006-04-23 12:08:37 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-04-23 12:08:37 +1000 |
commit | 97c91f688fa8f8d67bbe2e0aa0feb912fc3c00ef (patch) | |
tree | 2fdcbfd35755abb791bbc8e899686b32e838a855 /clientloop.c | |
parent | 58629fad824ebe0a10974930778beff455f41aea (diff) |
- djm@cvs.openbsd.org 2006/04/20 09:27:09
[auth.h clientloop.c dispatch.c dispatch.h kex.h]
replace the last non-sig_atomic_t flag used in a signal handler with a
sig_atomic_t, unfortunately with some knock-on effects in other (non-
signal) contexts in which it is used; ok markus@
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index 7745c4dd8..d317b79f4 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.161 2006/03/25 18:30:55 deraadt Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.162 2006/04/20 09:27:09 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -131,7 +131,7 @@ static volatile sig_atomic_t received_signal = 0; | |||
131 | static int in_non_blocking_mode = 0; | 131 | static int in_non_blocking_mode = 0; |
132 | 132 | ||
133 | /* Common data for the client loop code. */ | 133 | /* Common data for the client loop code. */ |
134 | static int quit_pending; /* Set to non-zero to quit the client loop. */ | 134 | static volatile sig_atomic_t quit_pending; /* Set non-zero to quit the loop. */ |
135 | static int escape_char; /* Escape character. */ | 135 | static int escape_char; /* Escape character. */ |
136 | static int escape_pending; /* Last character was the escape character */ | 136 | static int escape_pending; /* Last character was the escape character */ |
137 | static int last_was_cr; /* Last character was a newline. */ | 137 | static int last_was_cr; /* Last character was a newline. */ |