summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKonstantin Demin <rockdrilla@gmail.com>2019-03-20 17:33:15 +0300
committerMatt Johnston <matt@ucc.asn.au>2019-03-20 22:33:15 +0800
commit2fd3b9f560a2d15cff9b2124f2e82073f8783d39 (patch)
treee35dbb70f2eff40240dd4b232e7b09f62d3136e0
parent2de3bc9353e26df2b43305767db0c204c9ce15ef (diff)
packet: remove stale comment about "packet_type" (#63)
clean up after 7f15910541 Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
-rw-r--r--packet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index a1034b7..9fda0d6 100644
--- a/packet.c
+++ b/packet.c
@@ -110,8 +110,6 @@ void write_packet() {
/* Get the next buffer in the queue of encrypted packets to write*/
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;
dropbear_assert(len > 0);
/* Try to write as much as possible */