[PATCH] Fix TRACEs of cli_send_netcat_request

Catalin Patulea cat at vv.carleton.ca
Tue Nov 26 13:15:02 WST 2013


Signed-off-by: Catalin Patulea <cat at vv.carleton.ca>
---
 cli-chansession.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cli-chansession.c b/cli-chansession.c
index ed80453..0ee3e85 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -398,6 +398,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) 
@@ -414,7 +415,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
 
-- 
1.8.4.1



More information about the Dropbear mailing list