From 4ab00798bd41084fea7dd1361c5ebfe5771e315b Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Tue, 11 Dec 2012 13:48:13 +0000 Subject: fix 2689 --- src/fs/gnunet-fs-profiler.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/fs/gnunet-fs-profiler.c') diff --git a/src/fs/gnunet-fs-profiler.c b/src/fs/gnunet-fs-profiler.c index 4d4d34051..7a0b7e804 100644 --- a/src/fs/gnunet-fs-profiler.c +++ b/src/fs/gnunet-fs-profiler.c @@ -124,14 +124,14 @@ terminate_task (void *cls, /** - * The testbed has been started, now begin the experiment. + * Signature of a main function for a testcase. * - * @param cls configuration handle - * @param tc scheduler context - */ + * @param cls closure + * @param num_peers number of peers in 'peers' + * @param peers handle to peers run in the testbed + */ static void -master_task (void *cls, - const struct GNUNET_SCHEDULER_TaskContext *tc) +test_master (void *cls, unsigned int num_peers, struct GNUNET_TESTBED_Peer **peers) { // const struct GNUNET_CONFIGURATION_Handle *cfg = cls; // FIXME: enable clients to signal 'completion' before timeout; @@ -163,7 +163,7 @@ run (void *cls, char *const *args, const char *cfgfile, cfg, num_peers, 0, NULL, NULL, - &master_task, (void *) cfg); + &test_master, (void *) cfg); } -- cgit v1.2.3