X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/39dfceeb5137fbeed42ee74622cbaebe91e09734..9c54c067cca6a1d021a6d5120e0adc05f3252a97:/compress.c diff --git a/compress.c b/compress.c index 2dea7cf3..0d1c7e55 100644 --- a/compress.c +++ b/compress.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: compress.c,v 1.20 2004/01/13 19:23:15 markus Exp $"); +RCSID("$OpenBSD: compress.c,v 1.21 2004/01/13 19:45:15 markus Exp $"); #include "log.h" #include "buffer.h" @@ -57,11 +57,13 @@ void buffer_compress_uninit(void) { debug("compress outgoing: raw data %llu, compressed %llu, factor %.2f", - outgoing_stream.total_in, outgoing_stream.total_out, + (unsigned long long)outgoing_stream.total_in, + (unsigned long long)outgoing_stream.total_out, outgoing_stream.total_in == 0 ? 0.0 : (double) outgoing_stream.total_out / outgoing_stream.total_in); debug("compress incoming: raw data %llu, compressed %llu, factor %.2f", - incoming_stream.total_out, incoming_stream.total_in, + (unsigned long long)incoming_stream.total_out, + (unsigned long long)incoming_stream.total_in, incoming_stream.total_out == 0 ? 0.0 : (double) incoming_stream.total_in / incoming_stream.total_out); if (compress_init_recv_called == 1 && inflate_failed == 0)