diff common-session.c @ 927:122fb3532038

Fix typo
author Matt Johnston <matt@ucc.asn.au>
date Thu, 13 Mar 2014 23:08:47 +0800
parents b8208506322e
children 7cd89d4e0335
line wrap: on
line diff
--- 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);