summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-22 13:51:44 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-22 13:51:44 +0300
commite3ddcf47bdff0e1bc169e32aa64353852cb88665 (patch)
tree1b34a8b7a0b6efd683bb7bd7bca307ff7cfba91d /protocols/JabberG/src/jabber_iqid.cpp
parentb9eefe3259b21cb1319f4d90bc0a6c89e2f9682f (diff)
Jabber: no need to duplicate empty strings
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iqid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index fb83d3fafd..f5e64cd73e 100644
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -136,7 +136,7 @@ void CJabberProto::OnIqResultServerDiscoInfo(const TiXmlElement *iqNode, CJabber
if (void *p = pInfo->GetUserData()) {
const char *szNode = (const char *)p;
const char *szVer = szNode + strlen(szNode) + 1;
- g_clientCapsManager.SetClientCaps(szNode, szVer, "", jcb);
+ g_clientCapsManager.SetClientCaps(szNode, szVer, nullptr, jcb);
mir_free(p);
}