diff common-session.c @ 1577:399d8eb961b5

get rid of unused packet_type in encrypted write queue
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Mar 2018 14:57:18 +0800
parents 2f64cb3d3007
children 60fceff95858
line wrap: on
line diff
--- a/common-session.c	Sat Mar 03 11:11:04 2018 +0800
+++ b/common-session.c	Sun Mar 04 14:57:18 2018 +0800
@@ -346,7 +346,7 @@
 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() {