diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-21 14:45:46 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-21 14:45:46 +1100 |
commit | 9f0f5c64bc4b6144e3fed6a7f538f7c21819a492 (patch) | |
tree | f79317ab211f59181a61b526f566e9c8cfe70c73 /compress.c | |
parent | 89681214ca2f50a1b1ed6164c3afe1ce14995ffc (diff) |
- deraadt@cvs.openbsd.org 2001/12/19 07:18:56
[auth1.c auth2.c auth2-chall.c auth-bsdauth.c auth.c authfile.c auth.h]
[auth-krb4.c auth-rhosts.c auth-skey.c bufaux.c canohost.c channels.c]
[cipher.c clientloop.c compat.c compress.c deattack.c key.c log.c mac.c]
[match.c misc.c nchan.c packet.c readconf.c rijndael.c rijndael.h scard.c]
[servconf.c servconf.h serverloop.c session.c sftp.c sftp-client.c]
[sftp-glob.c sftp-int.c sftp-server.c ssh-add.c ssh-agent.c ssh.c]
[sshconnect1.c sshconnect2.c sshconnect.c sshd.8 sshd.c sshd_config]
[ssh-keygen.c sshlogin.c sshpty.c sshtty.c ttymodes.c uidswap.c]
basic KNF done while i was looking for something else
Diffstat (limited to 'compress.c')
-rw-r--r-- | compress.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compress.c b/compress.c index a779af6d7..73aebe89a 100644 --- a/compress.c +++ b/compress.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: compress.c,v 1.15 2001/09/27 11:58:16 markus Exp $"); | 15 | RCSID("$OpenBSD: compress.c,v 1.16 2001/12/19 07:18:56 deraadt Exp $"); |
16 | 16 | ||
17 | #include "log.h" | 17 | #include "log.h" |
18 | #include "buffer.h" | 18 | #include "buffer.h" |
@@ -55,13 +55,13 @@ void | |||
55 | buffer_compress_uninit(void) | 55 | buffer_compress_uninit(void) |
56 | { | 56 | { |
57 | debug("compress outgoing: raw data %lu, compressed %lu, factor %.2f", | 57 | debug("compress outgoing: raw data %lu, compressed %lu, factor %.2f", |
58 | outgoing_stream.total_in, outgoing_stream.total_out, | 58 | outgoing_stream.total_in, outgoing_stream.total_out, |
59 | outgoing_stream.total_in == 0 ? 0.0 : | 59 | outgoing_stream.total_in == 0 ? 0.0 : |
60 | (double) outgoing_stream.total_out / outgoing_stream.total_in); | 60 | (double) outgoing_stream.total_out / outgoing_stream.total_in); |
61 | debug("compress incoming: raw data %lu, compressed %lu, factor %.2f", | 61 | debug("compress incoming: raw data %lu, compressed %lu, factor %.2f", |
62 | incoming_stream.total_out, incoming_stream.total_in, | 62 | incoming_stream.total_out, incoming_stream.total_in, |
63 | incoming_stream.total_out == 0 ? 0.0 : | 63 | incoming_stream.total_out == 0 ? 0.0 : |
64 | (double) incoming_stream.total_in / incoming_stream.total_out); | 64 | (double) incoming_stream.total_in / incoming_stream.total_out); |
65 | if (compress_init_recv_called == 1) | 65 | if (compress_init_recv_called == 1) |
66 | inflateEnd(&incoming_stream); | 66 | inflateEnd(&incoming_stream); |
67 | if (compress_init_send_called == 1) | 67 | if (compress_init_send_called == 1) |