about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index e286a047..f22b751e 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -923,7 +923,7 @@ _private_chat_handler(xmpp_stanza_t *const stanza)
 #endif
 
     if (!message->plain && !message->body) {
-        log_error("Message received without body from: %s", jid->str);
+        log_error("Message received without body from: %s", message->jid->str);
         goto out;
     } else if (!message->plain) {
         message->plain = strdup(message->body);