changeset 1489:fdae6fae00af

Removed commented out code
author Matt Johnston <matt@ucc.asn.au>
date Sun, 11 Feb 2018 23:03:31 +0800
parents abbdeca6f1bd
children 9b87cbe931e3
files packet.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/packet.c	Sun Feb 11 10:53:59 2018 +0800
+++ b/packet.c	Sun Feb 11 23:03:31 2018 +0800
@@ -331,10 +331,6 @@
 		ses.payload = ses.readbuf;
 		ses.payload_beginning = ses.payload->pos;
 		buf_setlen(ses.payload, ses.payload->pos + len);
-		/* copy payload */
-		//ses.payload = buf_new(len);
-		//memcpy(ses.payload->data, buf_getptr(ses.readbuf, len), len);
-		//buf_incrlen(ses.payload, len);
 	}
 	ses.readbuf = NULL;