summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index 53dfa67f6c..c00e7025d7 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -1045,7 +1045,7 @@ void CJabberProto::_RosterHandleGetRequest(HXML node)
break;
const TCHAR *jid = xmlGetAttrValue(item, _T("jid"));
- if ( !jid)
+ if (jid == NULL)
continue;
const TCHAR *name = xmlGetAttrValue(item, _T("name"));