[roaming_client.c]
     Remove a PRIu64 format string that snuck in with roaming.  ok djm@
This commit is contained in:
Darren Tucker 2010-01-09 22:27:06 +11:00
parent 37c1b3d6fc
commit 4b28251df4
2 changed files with 6 additions and 3 deletions

View File

@ -20,6 +20,9 @@
[mux.c sshpty.h clientloop.c sshtty.c] [mux.c sshpty.h clientloop.c sshtty.c]
quell tc[gs]etattr warnings when forcing a tty (ssh -tt), since we quell tc[gs]etattr warnings when forcing a tty (ssh -tt), since we
usually don't actually have a tty to read/set; bz#1686 ok dtucker@ usually don't actually have a tty to read/set; bz#1686 ok dtucker@
- dtucker@cvs.openbsd.org 2010/01/09 05:17:00
[roaming_client.c]
Remove a PRIu64 format string that snuck in with roaming. ok djm@
20091208 20091208
- (dtucker) OpenBSD CVS Sync - (dtucker) OpenBSD CVS Sync

View File

@ -1,4 +1,4 @@
/* $OpenBSD: roaming_client.c,v 1.1 2009/10/24 11:22:37 andreas Exp $ */ /* $OpenBSD: roaming_client.c,v 1.2 2010/01/09 05:17:00 dtucker Exp $ */
/* /*
* Copyright (c) 2004-2009 AppGate Network Security AB * Copyright (c) 2004-2009 AppGate Network Security AB
* *
@ -122,7 +122,7 @@ roaming_auth_required(void)
calculate_new_key(&key1, cookie, chall); calculate_new_key(&key1, cookie, chall);
calculate_new_key(&key2, cookie, chall); calculate_new_key(&key2, cookie, chall);
debug("Received %" PRIu64 " bytes", get_recv_bytes()); debug("Received %llu bytes", (long long unsigned)get_recv_bytes());
debug("Sent roaming_auth packet"); debug("Sent roaming_auth packet");
} }
@ -216,7 +216,7 @@ roaming_resume(void)
goto fail; goto fail;
} }
recv_bytes = packet_get_int64() ^ oldkey2; recv_bytes = packet_get_int64() ^ oldkey2;
debug("Peer received %" PRIu64 " bytes", recv_bytes); debug("Peer received %llu bytes", (long long unsigned)recv_bytes);
resend_bytes(packet_get_connection_out(), &recv_bytes); resend_bytes(packet_get_connection_out(), &recv_bytes);
resume_in_progress = 0; resume_in_progress = 0;