diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index d59de8622..613f5181d 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.48 2001/02/15 08:38:04 deraadt Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.49 2001/02/15 23:19:59 markus Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -339,7 +339,7 @@ process_output(fd_set * writeset) | |||
339 | } else { | 339 | } else { |
340 | /* Successful write. */ | 340 | /* Successful write. */ |
341 | if (tcgetattr(fdin, &tio) == 0 && | 341 | if (tcgetattr(fdin, &tio) == 0 && |
342 | !(tio.c_lflag & ECHO)) { | 342 | !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { |
343 | /* | 343 | /* |
344 | * Simulate echo to reduce the impact of | 344 | * Simulate echo to reduce the impact of |
345 | * traffic analysis | 345 | * traffic analysis |