summaryrefslogtreecommitdiff
path: root/plugins/Jingle
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-30 14:21:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-30 14:21:31 +0300
commit1a74863d624e2813a9d0009ab98be40f426707ce (patch)
treef139143bf5e51c33dd03aaa9dca3b1e053ddbf64 /plugins/Jingle
parenta770c8ead7594b589b3557a4cc97c6bc75badf07 (diff)
Jabber: fix for storing dynamic features
Diffstat (limited to 'plugins/Jingle')
-rw-r--r--plugins/Jingle/src/voip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Jingle/src/voip.cpp b/plugins/Jingle/src/voip.cpp
index bd5e541499..bb330277b4 100644
--- a/plugins/Jingle/src/voip.cpp
+++ b/plugins/Jingle/src/voip.cpp
@@ -484,7 +484,7 @@ bool CJabberAccount::VOIPCallIinitiate(MCONTACT hContact)
jid.AppendFormat("/%s", szResource.get());
bool bFound = false;
ptrA szFeatures(m_api->GetResourceFeatures(jid));
- for (auto *p = szFeatures.get(); *p; p += mir_strlen(p))
+ for (auto *p = szFeatures.get(); *p; p += mir_strlen(p)+1)
if (!mir_strcmp(p, JABBER_FEAT_JINGLE))
bFound = true;