X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;h=c5f099f558a2b445e67becb84feeae2e3b95ed00;hb=204cf4f8f68cadeac474a75584f27b7339aca4c4;hp=8458ce15d1c9b58bdd8c9c24220e844242443f3a;hpb=9de567ab3fd0725ce08f0581b6374518e1220e7e;p=collectd.git diff --git a/src/apache.c b/src/apache.c index 8458ce15..c5f099f5 100644 --- a/src/apache.c +++ b/src/apache.c @@ -402,7 +402,7 @@ static int init_host (apache_t *st) /* {{{ */ curl_easy_setopt (st->curl, CURLOPT_WRITEHEADER, st); } - curl_easy_setopt (st->curl, CURLOPT_USERAGENT, PACKAGE_NAME"/"PACKAGE_VERSION); + curl_easy_setopt (st->curl, CURLOPT_USERAGENT, COLLECTD_USERAGENT); curl_easy_setopt (st->curl, CURLOPT_ERRORBUFFER, st->apache_curl_error); if (st->user != NULL)