diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-03-13 23:08:47 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-03-13 23:08:47 +0800 |
commit | 2b599df57abf70963706b62604ecc2c421b549da (patch) | |
tree | 54976798079bd2cccd5b3af5582dd48895a26f7d /common-session.c | |
parent | 5baa10a6b6f074acdbff8988773530ce66485092 (diff) |
Fix typo
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c index 49dd8f8..998bf0e 100644 --- a/common-session.c +++ b/common-session.c @@ -434,7 +434,7 @@ static long select_timeout() { if (KEX_REKEY_TIMEOUT > 0) ret = MIN(KEX_REKEY_TIMEOUT, ret); /* AUTH_TIMEOUT is only relevant before authdone */ - if (sess.authstate.authdone != 1 && AUTH_TIMEOUT > 0) + if (ses.authstate.authdone != 1 && AUTH_TIMEOUT > 0) ret = MIN(AUTH_TIMEOUT, ret); if (opts.keepalive_secs > 0) ret = MIN(opts.keepalive_secs, ret); |