summaryrefslogtreecommitdiffstats
path: root/pacredir.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-11-07 09:09:22 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-11-07 09:09:22 +0100
commit485196be1dd4980af450559468b51122287c65f8 (patch)
treeb175b78f0602d72cef46a2644ffb907445eac356 /pacredir.c
parent4b1e545f52c66b25a6409f2cae2e7836adaf92a9 (diff)
downloadpacredir-485196be1dd4980af450559468b51122287c65f8.tar.gz
pacredir-485196be1dd4980af450559468b51122287c65f8.tar.zst
add architecture to user agent string
Diffstat (limited to 'pacredir.c')
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacredir.c b/pacredir.c
index ef2cd31..b448068 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -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 */