Initialise the outgoing packet queue

--HG--
extra : convert_revision : d9981dbae7bf47d3bd6d1bcf4e602e7bf682082f
This commit is contained in:
Matt Johnston 2004-11-03 13:47:44 +00:00
parent 08cb903731
commit 96823c424d

View File

@ -72,6 +72,8 @@ void common_session_init(int sock, char* remotehost) {
ses.payload = NULL; ses.payload = NULL;
ses.recvseq = 0; ses.recvseq = 0;
initqueue(&ses.writequeue);
ses.requirenext = SSH_MSG_KEXINIT; ses.requirenext = SSH_MSG_KEXINIT;
ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */
ses.ignorenext = 0; ses.ignorenext = 0;