summaryrefslogtreecommitdiffhomepage
path: root/packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-02-11 23:03:31 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-02-11 23:03:31 +0800
commit1a37d7aa489cabbc1e8de2503540a17625d5c97d (patch)
tree1565236a07f060ddabc4ab992ea436d5db939f74 /packet.c
parent22eb197d6cbfbf9f71b2f64aede89080af82ae7f (diff)
Removed commented out code
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/packet.c b/packet.c
index 489bdc3..8a57e10 100644
--- a/packet.c
+++ b/packet.c
@@ -331,10 +331,6 @@ void decrypt_packet() {
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;