mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
http: Set a more useful user agent.
This commit is contained in:
1 parent
e2e1c677cb
commit
a35b21a5d7
7 files changed
+19
-4
No files matched your search
@@ -65,6 +65,8 @@ static bool RegisterServer(int port) {
|
||||
http::Client http;
|
||||
Buffer theVoid;
|
||||
|
||||
http.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));
|
||||
|
||||
char resource4[1024] = {};
|
||||
if (http.Resolve(REPORT_HOSTNAME, REPORT_PORT, net::DNSType::IPV4)) {
|
||||
if (http.Connect()) {
|
||||
|
||||
Reference in new issue
Block a user