http: Skip processing response body for void.
No need to decompress or copy between buffers.
This commit is contained in:
parent
20443571bd
commit
1459c16fb8
4 changed files with 30 additions and 19 deletions
|
@ -262,11 +262,11 @@ namespace Reporting
|
|||
{
|
||||
http::Client http;
|
||||
http::RequestProgress progress;
|
||||
Buffer theVoid;
|
||||
Buffer theVoid = Buffer::Void();
|
||||
|
||||
http.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));
|
||||
|
||||
if (output == NULL)
|
||||
if (output == nullptr)
|
||||
output = &theVoid;
|
||||
|
||||
const char *serverHost = ServerHostname();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue