]> andersk Git - openssh.git/blobdiff - compress.c
- stevesk@cvs.openbsd.org 2006/07/03 17:59:32
[openssh.git] / compress.c
index 85a361d3a58ec282a84ad40da8f43ed4e643b4b5..8aba84efa0066139d07d517500196a21ebe5db77 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenBSD: compress.c,v 1.23 2006/03/25 13:17:01 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -12,7 +13,6 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: compress.c,v 1.19 2002/03/18 17:31:54 provos Exp $");
 
 #include "log.h"
 #include "buffer.h"
@@ -56,12 +56,14 @@ buffer_compress_init_recv(void)
 void
 buffer_compress_uninit(void)
 {
-       debug("compress outgoing: raw data %lu, compressed %lu, factor %.2f",
-           outgoing_stream.total_in, outgoing_stream.total_out,
+       debug("compress outgoing: raw data %llu, compressed %llu, factor %.2f",
+           (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 %lu, compressed %lu, factor %.2f",
-           incoming_stream.total_out, incoming_stream.total_in,
+       debug("compress incoming: raw data %llu, compressed %llu, factor %.2f",
+           (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)
This page took 0.035973 seconds and 4 git commands to generate.