diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/serverloop.c b/serverloop.c index 5a5b1e37f..1687fd102 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.61 2001/04/13 22:46:54 beck Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.62 2001/04/29 18:32:52 markus Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -203,10 +203,10 @@ wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, | |||
203 | * analysis more difficult, but we're not doing it yet. | 203 | * analysis more difficult, but we're not doing it yet. |
204 | */ | 204 | */ |
205 | if (max_time_milliseconds == 0 && options.client_alive_interval) { | 205 | if (max_time_milliseconds == 0 && options.client_alive_interval) { |
206 | client_alive_scheduled = 1; | 206 | client_alive_scheduled = 1; |
207 | max_time_milliseconds = options.client_alive_interval * 1000; | 207 | max_time_milliseconds = options.client_alive_interval * 1000; |
208 | } else | 208 | } else |
209 | client_alive_scheduled = 0; | 209 | client_alive_scheduled = 0; |
210 | 210 | ||
211 | /* When select fails we restart from here. */ | 211 | /* When select fails we restart from here. */ |
212 | retry_select: | 212 | retry_select: |
@@ -746,7 +746,7 @@ server_input_channel_failure(int type, int plen, void *ctxt) | |||
746 | { | 746 | { |
747 | debug("Got CHANNEL_FAILURE for keepalive"); | 747 | debug("Got CHANNEL_FAILURE for keepalive"); |
748 | /* | 748 | /* |
749 | * reset timeout, since we got a sane answer from the client. | 749 | * reset timeout, since we got a sane answer from the client. |
750 | * even if this was generated by something other than | 750 | * even if this was generated by something other than |
751 | * the bogus CHANNEL_REQUEST we send for keepalives. | 751 | * the bogus CHANNEL_REQUEST we send for keepalives. |
752 | */ | 752 | */ |