summaryrefslogtreecommitdiff
path: root/mactelnet.c
diff options
context:
space:
mode:
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