-only trigger check config if we actually need it
[oweals/gnunet.git] / src / fs / perf_gnunet_service_fs_p2p.c
index e2f58d13da6da3c901005b85dbe0bc4986692ec6..5211beef8aa7bca744017e0fc37d72b3e8f19267 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     Copyright (C) 2010, 2012 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2010, 2012 GNUnet e.V.
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -213,7 +213,7 @@ stat_run (void *cls,
 #else
                            stats[sm->value].subsystem, stats[sm->value].name,
 #endif
-                           GNUNET_TIME_UNIT_FOREVER_REL, &get_done, &print_stat,
+                           &get_done, &print_stat,
                            sm);
     return;
   }
@@ -238,8 +238,7 @@ stat_run (void *cls,
 
 
 static void
-do_report (void *cls,
-           const struct GNUNET_SCHEDULER_TaskContext *tc)
+do_report (void *cls)
 {
   char *fn = cls;
   struct GNUNET_TIME_Relative del;