summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3cb2eec)
raw | patch | inline | side by side (parent: 3cb2eec)
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 d5cc2e249f91cb778a7fc134d411f72a5ca9741e..d4d17f2d63754f2fed1117046603355d3bd805a1 100644 (file)
--- a/src/http.c
+++ b/src/http.c
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",