diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-13 15:03:31 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2017-11-13 15:07:33 +0100 |
commit | a7c24ca48995cf2bf436156302f96b91bf135409 (patch) | |
tree | 953835509ff1b778833e78fd7b74b05e05e77c84 /protocols/IcqOscarJ/src/fam_0alookup.cpp | |
parent | 591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff) |
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'protocols/IcqOscarJ/src/fam_0alookup.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/fam_0alookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/fam_0alookup.cpp b/protocols/IcqOscarJ/src/fam_0alookup.cpp index f2bd71eb3c..50a66c2ec1 100644 --- a/protocols/IcqOscarJ/src/fam_0alookup.cpp +++ b/protocols/IcqOscarJ/src/fam_0alookup.cpp @@ -42,7 +42,7 @@ void CIcqProto::handleLookupFam(BYTE *pBuffer, size_t wBufferLength, snac_header wError = 0;
cookie_search *pCookie;
- if (FindCookie(pSnacHeader->dwRef, NULL, (void**)&pCookie)) {
+ if (FindCookie(pSnacHeader->dwRef, nullptr, (void**)&pCookie)) {
if (wError == 0x14)
debugLogA("Lookup: No results");
@@ -84,7 +84,7 @@ void CIcqProto::handleLookupEmailReply(BYTE* buf, size_t wLen, DWORD dwCookie) oscar_tlv_chain *pChain;
cookie_search *pCookie;
- if (!FindCookie(dwCookie, NULL, (void**)&pCookie)) {
+ if (!FindCookie(dwCookie, nullptr, (void**)&pCookie)) {
debugLogA("Error: Received unexpected lookup reply");
return;
}
|