changeset 135:d663445c1533

Initialise the outgoing packet queue
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Nov 2004 13:47:44 +0000
parents 6b306ad5f5b5
children fb7147e2fb04
files common-session.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;