Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
1488:abbdeca6f1bd | 1489:fdae6fae00af |
---|---|
329 #endif | 329 #endif |
330 { | 330 { |
331 ses.payload = ses.readbuf; | 331 ses.payload = ses.readbuf; |
332 ses.payload_beginning = ses.payload->pos; | 332 ses.payload_beginning = ses.payload->pos; |
333 buf_setlen(ses.payload, ses.payload->pos + len); | 333 buf_setlen(ses.payload, ses.payload->pos + len); |
334 /* copy payload */ | |
335 //ses.payload = buf_new(len); | |
336 //memcpy(ses.payload->data, buf_getptr(ses.readbuf, len), len); | |
337 //buf_incrlen(ses.payload, len); | |
338 } | 334 } |
339 ses.readbuf = NULL; | 335 ses.readbuf = NULL; |
340 | 336 |
341 ses.recvseq++; | 337 ses.recvseq++; |
342 | 338 |