summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 */