]> git.itanic.dy.fi Git - rrdd/commitdiff
parser: Remove old debug print
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Wed, 27 Jun 2012 15:29:14 +0000 (18:29 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Wed, 27 Jun 2012 19:43:07 +0000 (22:43 +0300)
All debug prints should use the pr_* variants instead of printf
directly. This one print in question is not very useful, so it can be
removed altogether.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
parser.c

index 81cf540fcc33bd6a60092f432b9f1f137703584f..47c0650e97d6f492e1bf40417cf5e1c764803b98 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -240,7 +240,6 @@ int netstats_parser(char *rrd_data, const char **parser_data)
 {
        struct iface_stats stat;
        const char **iface_name = parser_data;
-       char *original = rrd_data;
        int max_str = RRD_DATA_MAX_LEN;
        int ret;
 
@@ -273,6 +272,5 @@ int netstats_parser(char *rrd_data, const char **parser_data)
                rrd_data += ret;
        }
 
-       printf("result: %s\n", original);
        return 0;
 }