summaryrefslogtreecommitdiffhomepage
path: root/process-packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/process-packet.c b/process-packet.c
index 07fc130..d96c1cb 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -56,8 +56,8 @@ void process_packet() {
switch(type) {
case SSH_MSG_IGNORE:
+ goto out;
case SSH_MSG_DEBUG:
- TRACE(("received SSH_MSG_IGNORE or SSH_MSG_DEBUG"))
goto out;
case SSH_MSG_UNIMPLEMENTED:
@@ -119,7 +119,6 @@ void process_packet() {
recv_unimplemented();
out:
- buf_burn(ses.payload); /* Clear the memory to avoid swapping it out */
buf_free(ses.payload);
ses.payload = NULL;