summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-09-27 11:58:17 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-09-27 11:58:17 +0000
commit1245aef9a3d6e180ebfbeba63cbd83a911cfa324 (patch)
tree5b0308a37ec5c80512339c475481eed0724a38ee /usr.bin/ssh
parent075e3957eaedc259ec5ceda71fbc399ebb27f739 (diff)
mem leak; chombier@mac.com
Diffstat (limited to 'usr.bin/ssh')
-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)