projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'udev-disk'
[collectd.git]
/
src
/
apache.c
diff --git
a/src/apache.c
b/src/apache.c
index
8458ce1
..
c5f099f
100644
(file)
--- 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_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)
curl_easy_setopt (st->curl, CURLOPT_ERRORBUFFER, st->apache_curl_error);
if (st->user != NULL)