summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Coker <russell@coker.com.au>2017-06-06 15:00:20 +0100
committerColin Watson <cjwatson@debian.org>2017-06-06 15:06:12 +0100
commit6111c39a4ae8f1c62a9312a5f8d8b23adb5f727a (patch)
tree4ce4546e895193ef95a3b21557ccce87b998cd23
parent93563703c3acd94883e89baa7fcbf666318e2704 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 2f3a2ec70..6492b66f9 100644
--- a/packet.c
+++ b/packet.c
@@ -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,