Skip to content
Snippets Groups Projects
Commit a5bf4a5b authored by sphere's avatar sphere
Browse files

Merge branch 'fix-user-agent-string' into 'next'

Fix version text in UA string

See merge request STJr/SRB2!2324
parents 70627462 3bcd1947
No related branches found
No related tags found
No related merge requests found
......@@ -1640,7 +1640,7 @@ boolean CURLPrepareFile(const char* url, int dfilenum)
#endif
// Set user agent, as some servers won't accept invalid user agents.
curl_easy_setopt(http_handle, CURLOPT_USERAGENT, va("Sonic Robo Blast 2/v%d.%d", VERSION, SUBVERSION));
curl_easy_setopt(http_handle, CURLOPT_USERAGENT, va("Sonic Robo Blast 2/%s", VERSIONSTRING));
// Authenticate if the user so wishes
login = CURLGetLogin(url, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment