comparison common-session.c @ 857:c19acba28590

use oldstyle comments
author Matt Johnston <matt@ucc.asn.au>
date Thu, 14 Nov 2013 22:03:30 +0800
parents 7dcb46da72d9
children 220f55d540ae
comparison
equal deleted inserted replaced
856:f56c41030c15 857:c19acba28590
264 } 264 }
265 265
266 void send_session_identification() { 266 void send_session_identification() {
267 buffer *writebuf = buf_new(strlen(LOCAL_IDENT "\r\n") + 1); 267 buffer *writebuf = buf_new(strlen(LOCAL_IDENT "\r\n") + 1);
268 buf_putbytes(writebuf, LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n")); 268 buf_putbytes(writebuf, LOCAL_IDENT "\r\n", strlen(LOCAL_IDENT "\r\n"));
269 buf_putbyte(writebuf, 0x0); // packet type 269 buf_putbyte(writebuf, 0x0); /* packet type */
270 buf_setpos(writebuf, 0); 270 buf_setpos(writebuf, 0);
271 enqueue(&ses.writequeue, writebuf); 271 enqueue(&ses.writequeue, writebuf);
272 } 272 }
273 273
274 static void read_session_identification() { 274 static void read_session_identification() {