comparison 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
comparison
equal deleted inserted replaced
885:19ce21bd198a 886:cbc73a5aefb0
80 ses.payload = NULL; 80 ses.payload = NULL;
81 ses.recvseq = 0; 81 ses.recvseq = 0;
82 82
83 initqueue(&ses.writequeue); 83 initqueue(&ses.writequeue);
84 84
85 ses.requirenext[0] = SSH_MSG_KEXINIT; 85 ses.requirenext = SSH_MSG_KEXINIT;
86 ses.dataallowed = 1; /* we can send data until we actually 86 ses.dataallowed = 1; /* we can send data until we actually
87 send the SSH_MSG_KEXINIT */ 87 send the SSH_MSG_KEXINIT */
88 ses.ignorenext = 0; 88 ses.ignorenext = 0;
89 ses.lastpacket = 0; 89 ses.lastpacket = 0;
90 ses.reply_queue_head = NULL; 90 ses.reply_queue_head = NULL;