summaryrefslogtreecommitdiffhomepage
path: root/common-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-03-04 14:57:18 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-03-04 14:57:18 +0800
commit7f1591054198e6633f7ed2b1f79d8ed0826df21b (patch)
treea7e847bc92be470a669898b2bbd2ca8db8e874d1 /common-session.c
parent625b38d7af8c53981d61e8f24c3d623d1874237d (diff)
get rid of unused packet_type in encrypted write queue
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 037a78d..41bf5b3 100644
--- a/common-session.c
+++ b/common-session.c
@@ -346,7 +346,7 @@ void session_cleanup() {
void send_session_identification() {
buffer *writebuf = buf_new(strlen(LOCAL_IDENT "\r\n") + 1);
buf_putbytes(writebuf, (const unsigned char *) LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n"));
- writebuf_enqueue(writebuf, 0);
+ writebuf_enqueue(writebuf);
}
static void read_session_identification() {