Apply some refactoring

This commit is contained in:
Christian F. Coors authored and Michael Steenbeek committed 2017-11-02 12:22:28 +01:00
1 parent 386a399a51
commit 06afeeda9a
60 files changed
+221 -292

No files matched your search

+2 -2
View File
@@ -47,7 +47,7 @@ struct HttpRequest2
size_t Size = 0;
union
{
char * Buffer = 0;
char * Buffer = nullptr;
json_t * Json;
} Body;
@@ -151,7 +151,7 @@ static http_response_t *http_request(const HttpRequest2 &request)
CURL *curl;
CURLcode curlResult;
http_response_t *response;
read_buffer readBuffer = { 0 };
read_buffer readBuffer = { nullptr };
write_buffer writeBuffer;
curl = curl_easy_init();