summaryrefslogtreecommitdiff
path: root/src/client/cl_curl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_curl.c')
-rw-r--r--src/client/cl_curl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index 166fb1dc..996feaea 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -288,8 +288,7 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL )
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_TRANSFERTEXT, 0);
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_REFERER,
va("Tremulous://%s", NET_AdrToString(clc.serverAddress)));
- qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_USERAGENT, va("%s %s",
- Q3_VERSION, qcurl_version()));
+ qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_USERAGENT, PRODUCT_NAME);
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_WRITEFUNCTION,
CL_cURL_CallbackWrite);
qcurl_easy_setopt_warn(clc.downloadCURL, CURLOPT_WRITEDATA, &clc.download);