X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fascent.c;h=6809bac2be160406130c855f653e30700c10e6a0;hb=22ba280197b0ab9befc9d74f4b06ccd04b22d0c2;hp=94a39386b0a45f74cba03ddd237588c3ba8edfb7;hpb=d6021a800b12c89b5a78877af2c5b9abc1a8e609;p=collectd.git diff --git a/src/ascent.c b/src/ascent.c index 94a39386..6809bac2 100644 --- a/src/ascent.c +++ b/src/ascent.c @@ -541,7 +541,7 @@ static int ascent_init (void) /* {{{ */ curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1L); curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, ascent_curl_callback); - curl_easy_setopt (curl, CURLOPT_USERAGENT, PACKAGE_NAME"/"PACKAGE_VERSION); + curl_easy_setopt (curl, CURLOPT_USERAGENT, COLLECTD_USERAGENT); curl_easy_setopt (curl, CURLOPT_ERRORBUFFER, ascent_curl_error); if (user != NULL)