X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnginx.c;h=c356353e3798ea3104625cb96c655e1271934eb8;hb=56a7a6f079711a6cd5bbeb9c7eeb64c4d9349720;hp=de52262f4ec817b1b54ca876652b02e06a845252;hpb=7fc4c1f412c4002b787b5ce24b08e3091ced08a5;p=collectd.git diff --git a/src/nginx.c b/src/nginx.c index de52262f..c356353e 100644 --- a/src/nginx.c +++ b/src/nginx.c @@ -122,7 +122,7 @@ static int init (void) curl_easy_setopt (curl, CURLOPT_NOSIGNAL, 1L); curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, nginx_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, nginx_curl_error); if (user != NULL)