aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_fs_namespace_list_updateable.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-11-05 18:21:50 +0000
committerNathan S. Evans <evans@in.tum.de>2010-11-05 18:21:50 +0000
commit75a33a1499cf60ea4364c9aa673816629a6c1413 (patch)
tree0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/fs/test_fs_namespace_list_updateable.c
parent7217c601ad30760872823193d62307e7a335d226 (diff)
downloadgnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz
gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/fs/test_fs_namespace_list_updateable.c')
-rw-r--r--src/fs/test_fs_namespace_list_updateable.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/fs/test_fs_namespace_list_updateable.c
index 2637b1665..359800f56 100644
--- a/src/fs/test_fs_namespace_list_updateable.c
+++ b/src/fs/test_fs_namespace_list_updateable.c
@@ -32,8 +32,6 @@
32 32
33#define START_ARM GNUNET_YES 33#define START_ARM GNUNET_YES
34 34
35static struct GNUNET_SCHEDULER_Handle *sched;
36
37static struct PeerContext p1; 35static struct PeerContext p1;
38 36
39static struct GNUNET_FS_Handle *fs; 37static struct GNUNET_FS_Handle *fs;
@@ -226,15 +224,12 @@ testNamespace ()
226 224
227static void 225static void
228run (void *cls, 226run (void *cls,
229 struct GNUNET_SCHEDULER_Handle *s,
230 char *const *args, 227 char *const *args,
231 const char *cfgfile, 228 const char *cfgfile,
232 const struct GNUNET_CONFIGURATION_Handle *cfg) 229 const struct GNUNET_CONFIGURATION_Handle *cfg)
233{ 230{
234 sched = s;
235 setup_peer (&p1, "test_fs_namespace_data.conf"); 231 setup_peer (&p1, "test_fs_namespace_data.conf");
236 fs = GNUNET_FS_start (sched, 232 fs = GNUNET_FS_start (cfg,
237 cfg,
238 "test-fs-namespace", 233 "test-fs-namespace",
239 &progress_cb, 234 &progress_cb,
240 NULL, 235 NULL,