summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5f030f)
raw | patch | inline | side by side (parent: c5f030f)
author | Paul Sadauskas <psadauskas@gmail.com> | |
Mon, 22 Jun 2009 20:22:59 +0000 (14:22 -0600) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 06:41:54 +0000 (08:41 +0200) |
src/http.c | patch | blob | history |
diff --git a/src/http.c b/src/http.c
index 995368c91114ed633b821b50503f370af14da478..f38079e150a2bd0540f99975da143af0a975488c 100644 (file)
--- a/src/http.c
+++ b/src/http.c
static void http_send_buffer (char *buffer) /* {{{ */
{
- printf("Sending: --------\n");
- printf(buffer);
- printf("---------------\n");
-
int status = 0;
curl_easy_setopt (curl, CURLOPT_POSTFIELDS, buffer);
status = curl_easy_perform (curl);
metric_name, timestamp, value);
send_buffer_fill += status;
- printf(send_buffer);
- printf("Fill: %i\n", send_buffer_fill);
- printf("----\n");
-
if ((sizeof (send_buffer) - send_buffer_fill) < 128)
{
http_flush_buffer();