diff options
-rw-r--r-- | packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -587,7 +587,7 @@ ssh_packet_close(struct ssh *ssh) | |||
587 | deflateEnd(stream); | 587 | deflateEnd(stream); |
588 | } | 588 | } |
589 | if (state->compression_in_started) { | 589 | if (state->compression_in_started) { |
590 | z_streamp stream = &state->compression_out_stream; | 590 | z_streamp stream = &state->compression_in_stream; |
591 | debug("compress incoming: " | 591 | debug("compress incoming: " |
592 | "raw data %llu, compressed %llu, factor %.2f", | 592 | "raw data %llu, compressed %llu, factor %.2f", |
593 | (unsigned long long)stream->total_out, | 593 | (unsigned long long)stream->total_out, |