diff options
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 8e3abd8694..e8d3901e6a 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -1037,11 +1037,11 @@ void CJabberProto::_RosterHandleGetRequest(HXML node, CJabberIqInfo*) {
_RosterListClear(rrud.hwndDlg);
HXML query = xmlGetChild(node , "query");
- if ( !query) return;
+ if (query == NULL) return;
int i = 1;
while (TRUE) {
HXML item = xmlGetNthChild(query, _T("item"), i++);
- if ( !item)
+ if (item == NULL)
break;
const TCHAR *jid = xmlGetAttrValue(item, _T("jid"));
|