From 3bcd19476cdeddab79014dc27f7d770c85ebeb8f Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Fri, 16 Feb 2024 16:46:42 -0300 Subject: [PATCH] Fix version text in UA string --- src/netcode/d_netfil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netcode/d_netfil.c b/src/netcode/d_netfil.c index 03ad8303e..a8a10d475 100644 --- a/src/netcode/d_netfil.c +++ b/src/netcode/d_netfil.c @@ -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);