summaryrefslogtreecommitdiff
path: root/compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'compress.c')
-rw-r--r--compress.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compress.c b/compress.c
index 3e41b3d82..a779af6d7 100644
--- a/compress.c
+++ b/compress.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: compress.c,v 1.14 2001/04/05 10:39:01 markus Exp $"); 15RCSID("$OpenBSD: compress.c,v 1.15 2001/09/27 11:58:16 markus Exp $");
16 16
17#include "log.h" 17#include "log.h"
18#include "buffer.h" 18#include "buffer.h"
@@ -33,7 +33,7 @@ void
33buffer_compress_init_send(int level) 33buffer_compress_init_send(int level)
34{ 34{
35 if (compress_init_send_called == 1) 35 if (compress_init_send_called == 1)
36 deflateEnd(&incoming_stream); 36 deflateEnd(&outgoing_stream);
37 compress_init_send_called = 1; 37 compress_init_send_called = 1;
38 debug("Enabling compression at level %d.", level); 38 debug("Enabling compression at level %d.", level);
39 if (level < 1 || level > 9) 39 if (level < 1 || level > 9)