Mercurial > dropbear
changeset 651:a48a1f6ab43e
- Fix some format strings in TRACE()s
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 04 Dec 2011 05:24:50 +0800 |
parents | df11cb6a3665 |
children | 17962b2a6b8f |
files | signkey.c svr-x11fwd.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/signkey.c Sun Dec 04 05:23:43 2011 +0800 +++ b/signkey.c Sun Dec 04 05:24:50 2011 +0800 @@ -105,11 +105,11 @@ m_free(ident); if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) { - TRACE(("buf_get_pub_key bad type - got %d, expected %d", keytype, type)) + TRACE(("buf_get_pub_key bad type - got %d, expected %d", keytype, *type)) return DROPBEAR_FAILURE; } - TRACE(("buf_get_pub_key keytype is %d")) + TRACE(("buf_get_pub_key keytype is %d", keytype)) *type = keytype;
--- a/svr-x11fwd.c Sun Dec 04 05:23:43 2011 +0800 +++ b/svr-x11fwd.c Sun Dec 04 05:24:50 2011 +0800 @@ -175,7 +175,7 @@ m_free(chansess->x11authprot); m_free(chansess->x11authcookie); - TRACE(("chansess %s", chansess)) + TRACE(("chansess %x", chansess)) if (chansess->x11listener != NULL) { remove_listener(chansess->x11listener); chansess->x11listener = NULL;