summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2014-01-23 22:25:52 +0800
committerMatt Johnston <matt@ucc.asn.au>2014-01-23 22:25:52 +0800
commit55a0c5068ff7cccf4938f354c6acf97dcfd7d3f3 (patch)
tree684437415ca2d198c2ce959978bd9c5fe3b4cc5a /common-session.c
parent8128b15e4157abc382f360eaf95c0fabefe5bc61 (diff)
requirenext doesn't need two values
Diffstat (limited to 'common-session.c')
-rw-r--r--common-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c
index f4016b5..40c66e8 100644
--- a/common-session.c
+++ b/common-session.c
@@ -82,7 +82,7 @@ void common_session_init(int sock_in, int sock_out) {
initqueue(&ses.writequeue);
- ses.requirenext[0] = SSH_MSG_KEXINIT;
+ ses.requirenext = SSH_MSG_KEXINIT;
ses.dataallowed = 1; /* we can send data until we actually
send the SSH_MSG_KEXINIT */
ses.ignorenext = 0;