mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-11 16:49:27 +01:00
Merge pull request #3996 from unknownbrackets/net-minor
Fix reporting's net shutdown as well
This commit is contained in:
commit
4fea731d61
2 files changed
+2
-3
No files matched your search
+1
-2
@@ -132,13 +132,13 @@ namespace Reporting
|
||||
bool SendReportRequest(const char *uri, const std::string &data, Buffer *output = NULL)
|
||||
{
|
||||
bool result = false;
|
||||
net::AutoInit netInit;
|
||||
http::Client http;
|
||||
Buffer theVoid;
|
||||
|
||||
if (output == NULL)
|
||||
output = &theVoid;
|
||||
|
||||
net::Init();
|
||||
if (http.Resolve(ServerHostname(), ServerPort()))
|
||||
{
|
||||
http.Connect();
|
||||
@@ -146,7 +146,6 @@ namespace Reporting
|
||||
http.Disconnect();
|
||||
result = true;
|
||||
}
|
||||
net::Shutdown();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
+1
-1
Submodule native updated: a2fa1569f0...b7eb60d2b7.
Reference in new issue
Block a user