diff options
author | Russell Coker <russell@coker.com.au> | 2017-06-06 15:00:20 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-08-22 16:24:44 +0100 |
commit | cda04ac1f5c69710187e602043758063479c3c65 (patch) | |
tree | 48c01105ee8faa476f12ec4c53d0fc99870c5127 | |
parent | 4a6a0dd530022333dccf0e54a4c2827662b14109 (diff) |
Fix incoming compression statistics
Bug-Debian: https://bugs.debian.org/797964
Forwarded: https://lists.mindrot.org/pipermail/openssh-unix-dev/2017-June/036077.html
Last-Update: 2017-06-06
Patch-Name: fix-incoming-compression-statistics.patch
-rw-r--r-- | packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -606,7 +606,7 @@ ssh_packet_close(struct ssh *ssh) | |||
606 | deflateEnd(stream); | 606 | deflateEnd(stream); |
607 | } | 607 | } |
608 | if (state->compression_in_started) { | 608 | if (state->compression_in_started) { |
609 | z_streamp stream = &state->compression_out_stream; | 609 | z_streamp stream = &state->compression_in_stream; |
610 | debug("compress incoming: " | 610 | debug("compress incoming: " |
611 | "raw data %llu, compressed %llu, factor %.2f", | 611 | "raw data %llu, compressed %llu, factor %.2f", |
612 | (unsigned long long)stream->total_out, | 612 | (unsigned long long)stream->total_out, |