diff common-session.c @ 135:d663445c1533

Initialise the outgoing packet queue
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Nov 2004 13:47:44 +0000
parents 10f4d3319780
children 0cfba3034be5
line wrap: on
line diff
--- a/common-session.c	Sun Oct 17 10:35:19 2004 +0000
+++ b/common-session.c	Wed Nov 03 13:47:44 2004 +0000
@@ -72,6 +72,8 @@
 	ses.payload = NULL;
 	ses.recvseq = 0;
 
+	initqueue(&ses.writequeue);
+
 	ses.requirenext = SSH_MSG_KEXINIT;
 	ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */
 	ses.ignorenext = 0;