diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/serverloop.c b/serverloop.c index 651d3feb5..285f314eb 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.51 2001/02/23 15:34:53 markus Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.52 2001/02/28 21:27:48 markus Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -345,9 +345,7 @@ process_output(fd_set * writeset) | |||
345 | * Simulate echo to reduce the impact of | 345 | * Simulate echo to reduce the impact of |
346 | * traffic analysis | 346 | * traffic analysis |
347 | */ | 347 | */ |
348 | packet_start(SSH_MSG_IGNORE); | 348 | packet_send_ignore(len); |
349 | memset(buffer_ptr(&stdin_buffer), 0, len); | ||
350 | packet_put_string(buffer_ptr(&stdin_buffer), len); | ||
351 | packet_send(); | 349 | packet_send(); |
352 | } | 350 | } |
353 | /* Consume the data from the buffer. */ | 351 | /* Consume the data from the buffer. */ |