From: Florian Forster Date: Fri, 21 Aug 2009 09:24:24 +0000 (+0200) Subject: http plugin: Comment in the call to `curl_easy_perform'. X-Git-Tag: collectd-4.8.0~26^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1e1ab2bb55d4056048b8a6d73661a44e62f2ce14;p=collectd.git http plugin: Comment in the call to `curl_easy_perform'. --- diff --git a/src/http.c b/src/http.c index d5cc2e24..d4d17f2d 100644 --- 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",