summaryrefslogtreecommitdiff
path: root/mactelnet.c
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2012-07-17 22:20:59 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2012-07-17 22:20:59 +0200
commit8bb7351cc1598da5ef6b799c019c75509a9a642f (patch)
treedfab6c4c87e52cf3ad4557fe132627cb0f072e6a /mactelnet.c
parent092e396b00ee4805c2a924f1b1c00cbc6e07a33c (diff)
downloadMAC-Telnet-8bb7351cc1598da5ef6b799c019c75509a9a642f.tar.gz
MAC-Telnet-8bb7351cc1598da5ef6b799c019c75509a9a642f.zip
Updated internationalization, sped up code by using fputs instead of fprintf. Updated readme. Bumped version.
Diffstat (limited to 'mactelnet.c')
-rw-r--r--mactelnet.c2
1 files changed, 1 insertions, 1 deletions
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