http: Set a more useful user agent.

This commit is contained in:
Unknown W. Brackets committed 2021-04-30 23:12:42 -07:00
1 parent e2e1c677cb
commit a35b21a5d7
7 files changed
+19 -4

No files matched your search

+2
View File
@@ -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()) {