diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-22 13:51:44 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-22 13:51:44 +0300 |
commit | e3ddcf47bdff0e1bc169e32aa64353852cb88665 (patch) | |
tree | 1b34a8b7a0b6efd683bb7bd7bca307ff7cfba91d /protocols/JabberG/src/jabber_iqid.cpp | |
parent | b9eefe3259b21cb1319f4d90bc0a6c89e2f9682f (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.cpp | 2 |
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);
}
|