projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change JSON parsing to use libyajl
[collectd.git]
/
src
/
write_http.c
diff --git
a/src/write_http.c
b/src/write_http.c
index
7f5943a
..
25133c3
100644
(file)
--- a/
src/write_http.c
+++ b/
src/write_http.c
@@
-112,7
+112,7
@@
static int wh_callback_init (wh_callback_t *cb) /* {{{ */
}
curl_easy_setopt (cb->curl, CURLOPT_NOSIGNAL, 1L);
}
curl_easy_setopt (cb->curl, CURLOPT_NOSIGNAL, 1L);
- curl_easy_setopt (cb->curl, CURLOPT_USERAGENT,
PACKAGE_NAME"/"PACKAGE_VERSION
);
+ curl_easy_setopt (cb->curl, CURLOPT_USERAGENT,
COLLECTD_USERAGENT
);
headers = NULL;
headers = curl_slist_append (headers, "Accept: */*");
headers = NULL;
headers = curl_slist_append (headers, "Accept: */*");