diff svr-auth.c @ 989:73ea0dce9a57 pam

Merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Fri, 23 Jan 2015 21:38:47 +0800
parents bae0b34bc059 e9dfb6d15193
children
line wrap: on
line diff
--- a/svr-auth.c	Wed Mar 12 23:40:02 2014 +0800
+++ b/svr-auth.c	Fri Jan 23 21:38:47 2015 +0800
@@ -401,8 +401,7 @@
 	/* authdone must be set after encrypt_packet() for 
 	 * delayed-zlib mode */
 	ses.authstate.authdone = 1;
-	ses.connect_time = 0;
-
+	svr_ses.connect_time = 0;
 
 	if (ses.authstate.pw_uid == 0) {
 		ses.allowprivport = 1;