From 8bb7351cc1598da5ef6b799c019c75509a9a642f Mon Sep 17 00:00:00 2001 From: Håkon Nessjøen Date: Tue, 17 Jul 2012 22:20:59 +0200 Subject: Updated internationalization, sped up code by using fputs instead of fprintf. Updated readme. Bumped version. --- mactelnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mactelnet.c') diff --git a/mactelnet.c b/mactelnet.c index 0620b8d..19624ea 100644 --- a/mactelnet.c +++ b/mactelnet.c @@ -289,7 +289,7 @@ static int handle_packet(unsigned char *data, int data_len) { the data is raw terminal data to be outputted to the terminal. */ else if (cpkt.cptype == MT_CPTYPE_PLAINDATA) { cpkt.data[cpkt.length] = 0; - printf("%s", cpkt.data); + fputs((const char *)cpkt.data, stdout); } /* END_AUTH means that the user/password negotiation is done, and after this point -- cgit v1.2.3