http plugin: Remove some debugging info
authorPaul Sadauskas <psadauskas@gmail.com>
Mon, 22 Jun 2009 20:22:59 +0000 (14:22 -0600)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 21 Aug 2009 06:41:54 +0000 (08:41 +0200)
src/http.c

index 995368c..f38079e 100644 (file)
@@ -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();