summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authordjm <djm>2012-06-20 12:31:26 +0000
committerdjm <djm>2012-06-20 12:31:26 +0000
commit58a808829fda2c35cef88f2f0d78261161678d1a (patch)
tree3abf2d604ea07e650285587a201dd6d52f43152d /clientloop.c
parenta927123bef06912df55289841084bce1795de010 (diff)
downloadopenssh-58a808829fda2c35cef88f2f0d78261161678d1a.tar.gz
- djm@cvs.openbsd.org 2012/06/20 04:42:58
[clientloop.c serverloop.c] initialise accept() backoff timer to avoid EINVAL from select(2) in rekeying
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 58357cf3..1c1a7708 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.239 2012/04/11 13:16:19 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.240 2012/06/20 04:42:58 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -583,7 +583,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
{
struct timeval tv, *tvp;
int timeout_secs;
- time_t minwait_secs;
+ time_t minwait_secs = 0;
int ret;
/* Add any selections by the channel mechanism. */