comparison 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
comparison
equal deleted inserted replaced
1576:0c8c2552b2f2 1577:399d8eb961b5
344 } 344 }
345 345
346 void send_session_identification() { 346 void send_session_identification() {
347 buffer *writebuf = buf_new(strlen(LOCAL_IDENT "\r\n") + 1); 347 buffer *writebuf = buf_new(strlen(LOCAL_IDENT "\r\n") + 1);
348 buf_putbytes(writebuf, (const unsigned char *) LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n")); 348 buf_putbytes(writebuf, (const unsigned char *) LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n"));
349 writebuf_enqueue(writebuf, 0); 349 writebuf_enqueue(writebuf);
350 } 350 }
351 351
352 static void read_session_identification() { 352 static void read_session_identification() {
353 /* max length of 255 chars */ 353 /* max length of 255 chars */
354 char linebuf[256]; 354 char linebuf[256];