mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-29 07:32:02 +00:00
Merge branch 'fix-user-agent-string' into 'next'
Fix version text in UA string See merge request STJr/SRB2!2324
This commit is contained in:
commit
a5bf4a5b8f
1 changed files with 1 additions and 1 deletions
|
@ -1640,7 +1640,7 @@ boolean CURLPrepareFile(const char* url, int dfilenum)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Set user agent, as some servers won't accept invalid user agents.
|
// 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
|
// Authenticate if the user so wishes
|
||||||
login = CURLGetLogin(url, NULL);
|
login = CURLGetLogin(url, NULL);
|
||||||
|
|
Loading…
Reference in a new issue