From f2918f5aafdae5a1d80e322e7b43ba6a192ea772 Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Tue, 28 Jul 2026 22:03:15 +0300 Subject: [PATCH] fix(xmpp): log resolved key instead of possibly-NULL jid --- src/xmpp/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 9cb775bc..3c8fde26 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -759,11 +759,11 @@ _get_from_via_jid(const char* const jid) void connection_features_received(const char* const jid) { - log_info("[CONNECTION] connection_features_received %s", jid); const char* key = _get_from_via_jid(jid); if (!key) { return; } + log_info("[CONNECTION] connection_features_received %s", key); if (g_hash_table_remove(conn.requested_features, key) && g_hash_table_size(conn.requested_features) == 0) { sv_ev_connection_features_received(); }