From 4a6b1665f38ad7e7a0866609e77dc92445da98cf Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Wed, 3 Jul 2019 15:28:46 +0200 Subject: [PATCH] Use correct jid variable --- src/xmpp/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);