diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
commit | 75a33a1499cf60ea4364c9aa673816629a6c1413 (patch) | |
tree | 0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/statistics/test_statistics_api_loop.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/statistics/test_statistics_api_loop.c')
-rw-r--r-- | src/statistics/test_statistics_api_loop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/statistics/test_statistics_api_loop.c b/src/statistics/test_statistics_api_loop.c index 7eaa9d27b..02f4aca44 100644 --- a/src/statistics/test_statistics_api_loop.c +++ b/src/statistics/test_statistics_api_loop.c | |||
@@ -60,7 +60,6 @@ next (void *cls, int success) | |||
60 | 60 | ||
61 | static void | 61 | static void |
62 | run (void *cls, | 62 | run (void *cls, |
63 | struct GNUNET_SCHEDULER_Handle *sched, | ||
64 | char *const *args, | 63 | char *const *args, |
65 | const char *cfgfile, | 64 | const char *cfgfile, |
66 | const struct GNUNET_CONFIGURATION_Handle *cfg) | 65 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
@@ -68,7 +67,7 @@ run (void *cls, | |||
68 | int i; | 67 | int i; |
69 | char name[128]; | 68 | char name[128]; |
70 | 69 | ||
71 | h = GNUNET_STATISTICS_create (sched, "test-statistics-api-loop", cfg); | 70 | h = GNUNET_STATISTICS_create ("test-statistics-api-loop", cfg); |
72 | for (i=0;i<ROUNDS;i++) | 71 | for (i=0;i<ROUNDS;i++) |
73 | { | 72 | { |
74 | GNUNET_snprintf (name, sizeof (name), "test-%d", i % 256); | 73 | GNUNET_snprintf (name, sizeof (name), "test-%d", i % 256); |