summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-11 17:20:29 +1100
committerDamien Miller <djm@mindrot.org>2011-01-11 17:20:29 +1100
commit821de0ad2ea1036cb70872d26db2c9652694854d (patch)
tree98e256373a0981cb7a55e06185bd4bed28132ac1 /clientloop.c
parenta256c8d680203b41c8c4c8f012c1edbc3cd72336 (diff)
- djm@cvs.openbsd.org 2011/01/11 06:13:10
[clientloop.c ssh-keygen.c sshd.c] some unsigned long long casts that make things a bit easier for portable without resorting to dropping PRIu64 formats everywhere
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 7712f69be..c60b758c7 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.228 2011/01/08 10:51:51 djm Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.229 2011/01/11 06:13:10 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1622,7 +1622,7 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1622 packet_get_state(MODE_IN, NULL, NULL, NULL, &ibytes); 1622 packet_get_state(MODE_IN, NULL, NULL, NULL, &ibytes);
1623 packet_get_state(MODE_OUT, NULL, NULL, NULL, &obytes); 1623 packet_get_state(MODE_OUT, NULL, NULL, NULL, &obytes);
1624 verbose("Transferred: sent %llu, received %llu bytes, in %.1f seconds", 1624 verbose("Transferred: sent %llu, received %llu bytes, in %.1f seconds",
1625 obytes, ibytes, total_time); 1625 (unsigned long long)obytes, (unsigned long long)ibytes, total_time);
1626 if (total_time > 0) 1626 if (total_time > 0)
1627 verbose("Bytes per second: sent %.1f, received %.1f", 1627 verbose("Bytes per second: sent %.1f, received %.1f",
1628 obytes / total_time, ibytes / total_time); 1628 obytes / total_time, ibytes / total_time);