summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2012-06-20 22:31:26 +1000
committerDamien Miller <djm@mindrot.org>2012-06-20 22:31:26 +1000
commit6c6da33d31c898781ffb45c5d10502b0f84dd4a4 (patch)
tree79bca7662353429b63bf3bf2d10aa1b7e2944761 /clientloop.c
parentf8268503d1b71f6cae4609a1c83b403f71a71bad (diff)
- 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 58357cf39..1c1a77088 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.239 2012/04/11 13:16:19 djm Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.240 2012/06/20 04:42:58 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
@@ -583,7 +583,7 @@ client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
583{ 583{
584 struct timeval tv, *tvp; 584 struct timeval tv, *tvp;
585 int timeout_secs; 585 int timeout_secs;
586 time_t minwait_secs; 586 time_t minwait_secs = 0;
587 int ret; 587 int ret;
588 588
589 /* Add any selections by the channel mechanism. */ 589 /* Add any selections by the channel mechanism. */