mirror of
https://github.com/clearml/dropbear
synced 2025-03-14 15:48:24 +00:00
packet: remove stale comment about "packet_type" (#63)
clean up after 7f15910541
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
This commit is contained in:
parent
2de3bc9353
commit
2fd3b9f560
2
packet.c
2
packet.c
@ -110,8 +110,6 @@ void write_packet() {
|
|||||||
/* Get the next buffer in the queue of encrypted packets to write*/
|
/* Get the next buffer in the queue of encrypted packets to write*/
|
||||||
writebuf = (buffer*)examine(&ses.writequeue);
|
writebuf = (buffer*)examine(&ses.writequeue);
|
||||||
|
|
||||||
/* The last byte of the buffer is not to be transmitted, but is
|
|
||||||
* a cleartext packet_type indicator */
|
|
||||||
len = writebuf->len - writebuf->pos;
|
len = writebuf->len - writebuf->pos;
|
||||||
dropbear_assert(len > 0);
|
dropbear_assert(len > 0);
|
||||||
/* Try to write as much as possible */
|
/* Try to write as much as possible */
|
||||||
|
Loading…
Reference in New Issue
Block a user