# HG changeset patch # User Matt Johnston # Date 1394723327 -28800 # Node ID 122fb35320385f7929f6a7d5c3a3a9a88d6209bb # Parent b8208506322ef963cfc5c52a15129038df4169ab Fix typo diff -r b8208506322e -r 122fb3532038 common-session.c --- a/common-session.c Thu Mar 13 16:28:16 2014 +0800 +++ b/common-session.c Thu Mar 13 23:08:47 2014 +0800 @@ -434,7 +434,7 @@ 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);