]> git.itanic.dy.fi Git - rrdd/commitdiff
Remove commented code and update
authorTimo Kokkonen <kaapeli@ee.oulu.fi>
Mon, 31 Mar 2008 17:51:10 +0000 (20:51 +0300)
committerTimo Kokkonen <kaapeli@ee.oulu.fi>
Mon, 31 Mar 2008 17:51:10 +0000 (20:51 +0300)
main.c

diff --git a/main.c b/main.c
index 373d1130c66000902e50d96ca055420e866761ed..eb6c4f7add1723696b4945e58482f49f212cd90f 100644 (file)
--- a/main.c
+++ b/main.c
 
 int main(int argc, char *argv[])
 {
-//     draw_image(&cpudaily);
-
-//     draw_images(&all_images);
-
-//     update_data(&cpumem_rrd);
-
        struct rrd_database *db;
        int sleeptime;
 
@@ -31,7 +25,7 @@ int main(int argc, char *argv[])
                /*
                 * Let the updates finish
                 */
-               if (harvest_zombies())
+               if (harvest_zombies(0))
                        continue;
 
                sleeptime = get_next_update(&all_rrds);