changeset 872:a287954a16d6

Fix TRACEs of cli_send_netcat_request
author Catalin Patulea <cat@vv.carleton.ca>
date Tue, 03 Dec 2013 00:06:35 +0800
parents aa689d140928
children 17b15683648d
files cli-chansession.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-chansession.c	Tue Dec 03 00:04:48 2013 +0800
+++ b/cli-chansession.c	Tue Dec 03 00:06:35 2013 +0800
@@ -400,6 +400,7 @@
 	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 @@
 	buf_putint(ses.writepayload, source_port);
 
 	encrypt_packet();
-	TRACE(("leave cli_send_chansess_request"))
+	TRACE(("leave cli_send_netcat_request"))
 }
 #endif