summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-23 15:17:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-23 15:17:45 +0300
commit3d977685e7dbc7b1f5fa3264c8a014b5b5d5ec43 (patch)
tree3be179d8a33dd4ab623d330f628ef09f078f3fa4 /protocols/JabberG/src/stdafx.h
parent475debe8c34567137be9c1fd2252ed8816c6da31 (diff)
code cleaning
Diffstat (limited to 'protocols/JabberG/src/stdafx.h')
-rw-r--r--protocols/JabberG/src/stdafx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h
index 775df93f72..79f44f6137 100644
--- a/protocols/JabberG/src/stdafx.h
+++ b/protocols/JabberG/src/stdafx.h
@@ -667,11 +667,11 @@ struct CJabberAdhocStartupParams
wchar_t *m_szNode;
CJabberProto *m_pProto;
- CJabberAdhocStartupParams(CJabberProto *proto, wchar_t* szJid, wchar_t* szNode = NULL)
+ CJabberAdhocStartupParams(CJabberProto *proto, wchar_t* szJid, wchar_t* szNode = nullptr)
{
m_pProto = proto;
m_szJid = mir_wstrdup(szJid);
- m_szNode = szNode ? mir_wstrdup(szNode) : NULL;
+ m_szNode = szNode ? mir_wstrdup(szNode) : nullptr;
}
~CJabberAdhocStartupParams()
{
@@ -720,7 +720,7 @@ wchar_t* __stdcall JabberStrFixLines(const wchar_t *str);
void __stdcall JabberHttpUrlDecode(wchar_t *str);
int __stdcall JabberCombineStatus(int status1, int status2);
wchar_t* __stdcall JabberErrorStr(int errorCode);
-wchar_t* __stdcall JabberErrorMsg(HXML errorNode, int *errorCode = NULL);
+wchar_t* __stdcall JabberErrorMsg(HXML errorNode, int *errorCode = nullptr);
time_t __stdcall JabberIsoToUnixTime(const wchar_t *stamp);
wchar_t* __stdcall JabberStripJid(const wchar_t *jid, wchar_t *dest, size_t destLen);
int __stdcall JabberGetPacketID(HXML n);