[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] sftp: Fix the debug message in sftp_enqueue()


This fixes the assignment of variables to comments and makes
the output
symmetric with sftp_dequeue().

Jakub
From 284cfa376e116b5f76c50bed824e7c43e7917d0a Mon Sep 17 00:00:00 2001
From: Jakub Jelen <jjelen@xxxxxxxxxx>
Date: Fri, 17 Aug 2018 15:00:25 +0200
Subject: [PATCH] sftp: Fix the debug message in sftp_enqueue()

This fixes the assignment of variables to comments and makes
the output symmetric with sftp_dequeue().

Signed-off-by: Jakub Jelen <jjelen@xxxxxxxxxx>
---
 src/sftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sftp.c b/src/sftp.c
index 640d1a0f..2144cb03 100644
--- a/src/sftp.c
+++ b/src/sftp.c
@@ -699,7 +699,7 @@ static int sftp_enqueue(sftp_session sftp, sftp_message msg) {
   }
 
   SSH_LOG(SSH_LOG_PACKET,
-      "Queued msg type %d id %d",
+      "Queued msg id %d type %d",
       msg->id, msg->packet_type);
 
   if(sftp->queue == NULL) {
-- 
2.17.1


Archive administrator: postmaster@lists.cynapses.org