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/gnunet-service-statistics.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r-- | src/statistics/gnunet-service-statistics.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c index 92f79cc91..c506dee7b 100644 --- a/src/statistics/gnunet-service-statistics.c +++ b/src/statistics/gnunet-service-statistics.c | |||
@@ -730,13 +730,11 @@ handle_client_disconnect (void *cls, | |||
730 | * Process statistics requests. | 730 | * Process statistics requests. |
731 | * | 731 | * |
732 | * @param cls closure | 732 | * @param cls closure |
733 | * @param sched scheduler to use | ||
734 | * @param server the initialized server | 733 | * @param server the initialized server |
735 | * @param c configuration to use | 734 | * @param c configuration to use |
736 | */ | 735 | */ |
737 | static void | 736 | static void |
738 | run (void *cls, | 737 | run (void *cls, |
739 | struct GNUNET_SCHEDULER_Handle *sched, | ||
740 | struct GNUNET_SERVER_Handle *server, | 738 | struct GNUNET_SERVER_Handle *server, |
741 | const struct GNUNET_CONFIGURATION_Handle *c) | 739 | const struct GNUNET_CONFIGURATION_Handle *c) |
742 | { | 740 | { |
@@ -753,8 +751,7 @@ run (void *cls, | |||
753 | &handle_client_disconnect, | 751 | &handle_client_disconnect, |
754 | NULL); | 752 | NULL); |
755 | load (server); | 753 | load (server); |
756 | GNUNET_SCHEDULER_add_delayed (sched, | 754 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, |
757 | GNUNET_TIME_UNIT_FOREVER_REL, | ||
758 | &shutdown_task, | 755 | &shutdown_task, |
759 | NULL); | 756 | NULL); |
760 | } | 757 | } |