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/fs/test_fs_namespace_list_updateable.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-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.c | 7 |
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 | ||
35 | static struct GNUNET_SCHEDULER_Handle *sched; | ||
36 | |||
37 | static struct PeerContext p1; | 35 | static struct PeerContext p1; |
38 | 36 | ||
39 | static struct GNUNET_FS_Handle *fs; | 37 | static struct GNUNET_FS_Handle *fs; |
@@ -226,15 +224,12 @@ testNamespace () | |||
226 | 224 | ||
227 | static void | 225 | static void |
228 | run (void *cls, | 226 | run (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, |