aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-profiler.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-12-11 13:48:13 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-12-11 13:48:13 +0000
commit4ab00798bd41084fea7dd1361c5ebfe5771e315b (patch)
treef1faf214501b6c0b2b26aea8d1c2046f862dfa6a /src/fs/gnunet-fs-profiler.c
parent19a850a8d8723fb70ce265304590d390f6782557 (diff)
downloadgnunet-4ab00798bd41084fea7dd1361c5ebfe5771e315b.tar.gz
gnunet-4ab00798bd41084fea7dd1361c5ebfe5771e315b.zip
fix 2689
Diffstat (limited to 'src/fs/gnunet-fs-profiler.c')
-rw-r--r--src/fs/gnunet-fs-profiler.c14
1 files changed, 7 insertions, 7 deletions
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,
124 124
125 125
126/** 126/**
127 * The testbed has been started, now begin the experiment. 127 * Signature of a main function for a testcase.
128 * 128 *
129 * @param cls configuration handle 129 * @param cls closure
130 * @param tc scheduler context 130 * @param num_peers number of peers in 'peers'
131 */ 131 * @param peers handle to peers run in the testbed
132 */
132static void 133static void
133master_task (void *cls, 134test_master (void *cls, unsigned int num_peers, struct GNUNET_TESTBED_Peer **peers)
134 const struct GNUNET_SCHEDULER_TaskContext *tc)
135{ 135{
136 // const struct GNUNET_CONFIGURATION_Handle *cfg = cls; 136 // const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
137 // FIXME: enable clients to signal 'completion' before timeout; 137 // FIXME: enable clients to signal 'completion' before timeout;
@@ -163,7 +163,7 @@ run (void *cls, char *const *args, const char *cfgfile,
163 cfg, 163 cfg,
164 num_peers, 164 num_peers,
165 0, NULL, NULL, 165 0, NULL, NULL,
166 &master_task, (void *) cfg); 166 &test_master, (void *) cfg);
167} 167}
168 168
169 169