summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/http_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/http_request.h')
-rw-r--r--protocols/Tox/src/http_request.h12
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;