diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 15:32:06 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-02-24 18:20:46 +0100 |
commit | 1c0172cca4f1e90679321912e20436a7f42f122d (patch) | |
tree | 77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /protocols/Tox/src/http_request.h | |
parent | dff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff) |
more nullptr
Diffstat (limited to 'protocols/Tox/src/http_request.h')
-rw-r--r-- | protocols/Tox/src/http_request.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Tox/src/http_request.h b/protocols/Tox/src/http_request.h index 18b8228f63..d51aab289f 100644 --- a/protocols/Tox/src/http_request.h +++ b/protocols/Tox/src/http_request.h @@ -27,14 +27,14 @@ private: cbSize = sizeof(NETLIBHTTPREQUEST);
requestType = type;
flags = NLHRF_HTTP11 | NLHRF_SSL | NLHRF_NODUMPSEND | NLHRF_DUMPASTEXT;
- szUrl = NULL;
- headers = NULL;
+ szUrl = nullptr;
+ headers = nullptr;
headersCount = 0;
- pData = NULL;
+ pData = nullptr;
dataLength = 0;
resultCode = 0;
- szResultDescr = NULL;
- nlc = NULL;
+ szResultDescr = nullptr;
+ nlc = nullptr;
timeout = 0;
}
@@ -90,7 +90,7 @@ public: void SetData(const char *data, size_t size)
{
- if (pData != NULL)
+ if (pData != nullptr)
mir_free(pData);
dataLength = (int)size;
|