mirror of
https://github.com/clearml/dropbear
synced 2025-02-26 05:38:53 +00:00
- Fix some format strings in TRACE()s
This commit is contained in:
parent
2e0145fb95
commit
fd0b05943d
@ -105,11 +105,11 @@ int buf_get_pub_key(buffer *buf, sign_key *key, int *type) {
|
|||||||
m_free(ident);
|
m_free(ident);
|
||||||
|
|
||||||
if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) {
|
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;
|
return DROPBEAR_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE(("buf_get_pub_key keytype is %d"))
|
TRACE(("buf_get_pub_key keytype is %d", keytype))
|
||||||
|
|
||||||
*type = keytype;
|
*type = keytype;
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ void x11cleanup(struct ChanSess *chansess) {
|
|||||||
m_free(chansess->x11authprot);
|
m_free(chansess->x11authprot);
|
||||||
m_free(chansess->x11authcookie);
|
m_free(chansess->x11authcookie);
|
||||||
|
|
||||||
TRACE(("chansess %s", chansess))
|
TRACE(("chansess %x", chansess))
|
||||||
if (chansess->x11listener != NULL) {
|
if (chansess->x11listener != NULL) {
|
||||||
remove_listener(chansess->x11listener);
|
remove_listener(chansess->x11listener);
|
||||||
chansess->x11listener = NULL;
|
chansess->x11listener = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user