summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ssh/compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/compress.c b/usr.bin/ssh/compress.c
index 3e41b3d8218..a779af6d7b3 100644
--- a/usr.bin/ssh/compress.c
+++ b/usr.bin/ssh/compress.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: compress.c,v 1.14 2001/04/05 10:39:01 markus Exp $");
+RCSID("$OpenBSD: compress.c,v 1.15 2001/09/27 11:58:16 markus Exp $");
#include "log.h"
#include "buffer.h"
@@ -33,7 +33,7 @@ void
buffer_compress_init_send(int level)
{
if (compress_init_send_called == 1)
- deflateEnd(&incoming_stream);
+ deflateEnd(&outgoing_stream);
compress_init_send_called = 1;
debug("Enabling compression at level %d.", level);
if (level < 1 || level > 9)