diff common-session.c @ 886:cbc73a5aefb0

requirenext doesn't need two values
author Matt Johnston <matt@ucc.asn.au>
date Thu, 23 Jan 2014 22:25:52 +0800
parents 220f55d540ae
children e78f5ce6e7bb
line wrap: on
line diff
--- a/common-session.c	Thu Jan 23 21:56:35 2014 +0800
+++ b/common-session.c	Thu Jan 23 22:25:52 2014 +0800
@@ -82,7 +82,7 @@
 
 	initqueue(&ses.writequeue);
 
-	ses.requirenext[0] = SSH_MSG_KEXINIT;
+	ses.requirenext = SSH_MSG_KEXINIT;
 	ses.dataallowed = 1; /* we can send data until we actually 
 							send the SSH_MSG_KEXINIT */
 	ses.ignorenext = 0;