projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f030f
)
http plugin: Remove some debugging info
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
995368c
..
f38079e
100644
(file)
--- a/
src/http.c
+++ b/
src/http.c
@@
-307,10
+307,6
@@
static void http_init_buffer (void) /* {{{ */
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);
@@
-376,10
+372,6
@@
static int http_write (const data_set_t *ds, const value_list_t *vl, /* {{{ */
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();