diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-03 17:27:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-03 17:27:06 +0000 |
commit | a9fac2d04887b80526ab90c4c8ce45cd482e80b2 (patch) | |
tree | 0bc62363778c6110d16016816650278a147049f7 /protocols/JabberG/src/jabber_iqid.cpp | |
parent | 9257dc8641a40437ceda38b65f4be7390e57954b (diff) |
- filetransfer::iqid converted from string to int;
- further code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_iqid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index ec36891932..7addbc3138 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. void CJabberProto::OnIqResultServerDiscoInfo(HXML iqNode, CJabberIqInfo*)
{
- if ( !iqNode)
+ if (iqNode == NULL)
return;
const TCHAR *type = xmlGetAttrValue(iqNode, _T("type"));
@@ -38,7 +38,7 @@ void CJabberProto::OnIqResultServerDiscoInfo(HXML iqNode, CJabberIqInfo*) return;
HXML query = xmlGetChildByTag(iqNode, "query", "xmlns", JABBER_FEAT_DISCO_INFO);
- if ( !query)
+ if (query == NULL)
return;
HXML identity;
|