X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapache.c;fp=src%2Fapache.c;h=ad5975c015bdf737860a16df41eefe4a5887414e;hb=103f05e098865196fc5f28df51e99b64fd6b5202;hp=f0ab22a80047e9e3e3d367348aa556f614b0fc51;hpb=fd7673e5e9ad074624fc23cda5d2ec4549d43659;p=collectd.git diff --git a/src/apache.c b/src/apache.c index f0ab22a8..ad5975c0 100644 --- a/src/apache.c +++ b/src/apache.c @@ -18,7 +18,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * * Authors: - * Florian octo Forster + * Florian octo Forster * Florent EppO Monbillard * - connections/lighttpd extension * Amit Gupta @@ -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)