about summary refs log tree commit diff stats
path: root/src/xmpp/ox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/ox.c')
-rw-r--r--src/xmpp/ox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/ox.c b/src/xmpp/ox.c
index fab3d675..7e66abab 100644
--- a/src/xmpp/ox.c
+++ b/src/xmpp/ox.c
@@ -355,7 +355,8 @@ _ox_request_public_key(const char* const jid, const char* const fingerprint)
     assert(fingerprint);
 
     if (strlen(fingerprint) != KEYID_LENGTH) {
-        cons_show_error("Invalid fingerprint length for: %s", fingerprint);
+        cons_show_error("Invalid fingerprint length %s for %s", fingerprint, jid);
+        return;
     }
 
     cons_show("Requesting Public Key %s for %s", fingerprint, jid);