From 7ed40f8412346f1c0e626a393996eed4cfb7f100 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 2 Feb 2004 21:21:25 +0000 Subject: [PATCH] Small change for telnet buffering --- mbcico/telnet.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mbcico/telnet.c b/mbcico/telnet.c index bb63771c..6db6803b 100644 --- a/mbcico/telnet.c +++ b/mbcico/telnet.c @@ -108,11 +108,8 @@ void telout_filter(int fdi, int fdo) Syslog('s', "$telout_filter: write failed"); exit(MBERR_TTYIO_ERROR); } - tcflush(fdo, TCOFLUSH); } - tcflush(fdi, TCIFLUSH); - tcflush(fdo, TCOFLUSH); Syslog('s', "telout_filter: finished rc=%d", rc); exit(0); } @@ -172,12 +169,9 @@ void telin_filter(int fdo, int fdi) exit(MBERR_TTYIO_ERROR); } } - tcflush(fdo, TCOFLUSH); } - tcflush(fdi, TCIFLUSH); - tcflush(fdo, TCOFLUSH); - + Syslog('s', "telin_filter: finished rc=%d", rc); exit(0); }