diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 11:47:11 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 11:47:11 +0000 |
commit | a1009bf5a26ec6e13badf360278765ea8c0f0edd (patch) | |
tree | 3deac61399b3d6cf9a5237622833fe9098550191 /protocols/JabberG/src/jabber_opt.cpp | |
parent | e44d626b32c534cace3a54d54778dfa9cf3599c9 (diff) |
Jabber:
-minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 91add0957a..d3e9ea0917 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -1097,9 +1097,9 @@ void CJabberProto::_RosterHandleGetRequest(HXML node, CJabberIqInfo*) }
if (bPushed) {
HXML item = query << XCHILD(_T("item"));
- if (group && _tcslen(group))
+ if (_tcslen(group))
item << XCHILD(_T("group"), group);
- if (name && _tcslen(name))
+ if (_tcslen(name))
item << XATTR(_T("name"), name);
item << XATTR(_T("jid"), jid) << XATTR(_T("subscription"), subscr[0] ? subscr : _T("none"));
itemCount++;
|