# HG changeset patch # User Matt Johnston # Date 1099489664 0 # Node ID d663445c1533896374c05a7eba1da07286da4778 # Parent 6b306ad5f5b55d705db7d1ef5add0f40908235a5 Initialise the outgoing packet queue diff -r 6b306ad5f5b5 -r d663445c1533 common-session.c --- 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;