summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:31:39 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:02 +0000
commit6e90e4e7861f5cb354487d1fe0f1fd06c385308e (patch)
tree1a71b66e86987a95b543f7d914287b35f8cee895
parente7ea192de42bdf7575b5c5078ace2d45282296b4 (diff)
* (bug 3760) Tremulous reports as ioQ3 when downloading with curl
(David Severwright)
-rw-r--r--src/client/cl_curl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_curl.c b/src/client/cl_curl.c
index 5e55d0cf..fb93aa2f 100644
--- a/src/client/cl_curl.c
+++ b/src/client/cl_curl.c
@@ -265,8 +265,8 @@ void CL_cURL_BeginDownload( const char *localName, const char *remoteURL )
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_VERBOSE, 1);
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_URL, clc.downloadURL);
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_TRANSFERTEXT, 0);
- qcurl_easy_setopt(clc.downloadCURL, CURLOPT_REFERER, va("ioQ3://%s",
- NET_AdrToString(clc.serverAddress)));
+ qcurl_easy_setopt(clc.downloadCURL, CURLOPT_REFERER,
+ va("Tremulous://%s", NET_AdrToString(clc.serverAddress)));
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_USERAGENT, va("%s %s",
Q3_VERSION, qcurl_version()));
qcurl_easy_setopt(clc.downloadCURL, CURLOPT_WRITEFUNCTION,