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:19:30 +0100 |
commit | f62d1568c95ad1ad193b95d61e6e93baf8b935a0 (patch) | |
tree | 773f3a25671ecad259432ad5ae81d7a43b354e0c | |
parent | 59b1519ddb11cc2393037e97ae806656c6276020 (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, |