1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00

Apply some refactoring

This commit is contained in:
Christian F. Coors
2017-10-03 00:00:32 +02:00
committed by Michael Steenbeek
parent 386a399a51
commit 06afeeda9a
60 changed files with 221 additions and 292 deletions

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();