# HG changeset patch # User Matt Johnston # Date 1518361411 -28800 # Node ID fdae6fae00afe863dd8120b61fa1a1232c85faf6 # Parent abbdeca6f1bdb20151f5aa098b1d1275097dc670 Removed commented out code diff -r abbdeca6f1bd -r fdae6fae00af packet.c --- 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;