From 441facc6e0e781c6297d382645a0db6165f82baf Mon Sep 17 00:00:00 2001
From: Catalin Patulea <cat@vv.carleton.ca>
Date: Tue, 3 Dec 2013 00:06:35 +0800
Subject: [PATCH] Fix TRACEs of cli_send_netcat_request

---
 cli-chansession.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cli-chansession.c b/cli-chansession.c
index c3e2f811..fa97a6a0 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -400,6 +400,7 @@ void cli_send_netcat_request() {
 	const unsigned char* source_host = "127.0.0.1";
 	const int source_port = 22;
 
+	TRACE(("enter cli_send_netcat_request"))
 	cli_opts.wantpty = 0;
 
 	if (send_msg_channel_open_init(STDIN_FILENO, &cli_chan_netcat) 
@@ -416,7 +417,7 @@ void cli_send_netcat_request() {
 	buf_putint(ses.writepayload, source_port);
 
 	encrypt_packet();
-	TRACE(("leave cli_send_chansess_request"))
+	TRACE(("leave cli_send_netcat_request"))
 }
 #endif
 
-- 
GitLab