diff svr-auth.c @ 1139:43a8ea69b24c

Fix problem where auth timeout wasn't checked when waiting for ident
author Matt Johnston <matt@ucc.asn.au>
date Mon, 03 Aug 2015 21:59:40 +0800
parents aaf576b27a10
children 9169e4e7cbee
line wrap: on
line diff
--- a/svr-auth.c	Mon Aug 03 21:17:23 2015 +0800
+++ b/svr-auth.c	Mon Aug 03 21:59:40 2015 +0800
@@ -392,7 +392,8 @@
 	/* authdone must be set after encrypt_packet() for 
 	 * delayed-zlib mode */
 	ses.authstate.authdone = 1;
-	svr_ses.connect_time = 0;
+	ses.connect_time = 0;
+
 
 	if (ses.authstate.pw_uid == 0) {
 		ses.allowprivport = 1;