diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-07 09:09:22 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-07 09:09:22 +0100 |
commit | 485196be1dd4980af450559468b51122287c65f8 (patch) | |
tree | b175b78f0602d72cef46a2644ffb907445eac356 /pacredir.c | |
parent | 4b1e545f52c66b25a6409f2cae2e7836adaf92a9 (diff) | |
download | paccache-485196be1dd4980af450559468b51122287c65f8.tar.gz paccache-485196be1dd4980af450559468b51122287c65f8.tar.zst |
add architecture to user agent string
Diffstat (limited to 'pacredir.c')
-rw-r--r-- | pacredir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -218,7 +218,7 @@ int get_http_code(const char * host, const uint16_t port, const char * url, long /* example.com is redirected, so we tell libcurl to follow redirection */ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); /* set user agent */ - curl_easy_setopt(curl, CURLOPT_USERAGENT, "pacredir/" VERSION); + curl_easy_setopt(curl, CURLOPT_USERAGENT, "pacredir/" VERSION " (" ARCH ")"); /* do not receive body */ curl_easy_setopt(curl, CURLOPT_NOBODY, 1L); /* ask for filetime */ |