Mercurial > dropbear
diff signkey.c @ 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 | a98a2138364a |
children | 9a5438271556 f336d232fc63 |
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;