projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb2eec
)
http plugin: Comment in the call to `curl_easy_perform'.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 21 Aug 2009 09:24:24 +0000
(11:24 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Fri, 21 Aug 2009 09:24:24 +0000
(11:24 +0200)
src/http.c
patch
|
blob
|
history
diff --git
a/src/http.c
b/src/http.c
index
d5cc2e2
..
d4d17f2
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-229,8
+229,9
@@
static void http_init_buffer (void) /* {{{ */
static int http_send_buffer (char *buffer) /* {{{ */
{
int status = 0;
+
curl_easy_setopt (curl, CURLOPT_POSTFIELDS, buffer);
-
//
status = curl_easy_perform (curl);
+ status = curl_easy_perform (curl);
if (status != 0)
{
ERROR ("http plugin: curl_easy_perform failed with staus %i: %s",