summaryrefslogtreecommitdiffstats
path: root/pacredir.c
diff options
context:
space:
mode:
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 */