diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rwxr-xr-x | protocols/JabberG/src/jabber_misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index 201cb7d5aa..64a7126bc6 100755 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -304,9 +304,9 @@ void CJabberProto::FormatMirVer(const pResourceStatus &resource, CMStringA &res) // unknown software
const char *szDefaultName = GetSoftName(pCaps->GetNode());
res = (szDefaultName == nullptr) ? pCaps->GetSoft() : szDefaultName;
- if (pCaps->GetSoftVer())
+ if (mir_strlen(pCaps->GetSoftVer()))
res.AppendFormat(" %s", pCaps->GetSoftVer());
- if (pCaps->GetSoftMir())
+ if (mir_strlen(pCaps->GetSoftMir()))
res.AppendFormat(" %s", pCaps->GetSoftMir());
}
|