Mercurial > dropbear
diff packet.c @ 1489:fdae6fae00af
Removed commented out code
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 11 Feb 2018 23:03:31 +0800 |
parents | 06d52bcb8094 |
children | 5916af64acd4 7bd7e95ad1f8 |
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;