diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-29 01:24:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-29 01:24:56 +0300 |
commit | ace44570149091382a555a7832f5a13eea4a05e4 (patch) | |
tree | 777318031580fff85b739f007f0647fba8063a28 /src/net | |
parent | b917a2cea65b1d9fc559fc0cf5a32797d88094b4 (diff) | |
download | manaplus-ace44570149091382a555a7832f5a13eea4a05e4.tar.gz manaplus-ace44570149091382a555a7832f5a13eea4a05e4.tar.bz2 manaplus-ace44570149091382a555a7832f5a13eea4a05e4.tar.xz manaplus-ace44570149091382a555a7832f5a13eea4a05e4.zip |
Use appname in user agents string while downloading files.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/download.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp index 22af389f3..d20713dfa 100644 --- a/src/net/download.cpp +++ b/src/net/download.cpp @@ -239,7 +239,7 @@ int Download::downloadThread(void *ptr) curl_easy_setopt(d->mCurl, CURLOPT_USERAGENT, strprintf(PACKAGE_EXTENDED_VERSION, - branding.getStringValue("appShort").c_str()).c_str()); + branding.getStringValue("appName").c_str()).c_str()); curl_easy_setopt(d->mCurl, CURLOPT_ERRORBUFFER, d->mError); curl_easy_setopt(d->mCurl, CURLOPT_URL, d->mUrl.c_str()); curl_easy_setopt(d->mCurl, CURLOPT_NOPROGRESS, 0); |