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/gnunet-pseudonym.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/fs/gnunet-pseudonym.c')
-rw-r--r-- | src/fs/gnunet-pseudonym.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fs/gnunet-pseudonym.c b/src/fs/gnunet-pseudonym.c index ba9213b5d..b7aba8ef4 100644 --- a/src/fs/gnunet-pseudonym.c +++ b/src/fs/gnunet-pseudonym.c | |||
@@ -221,14 +221,12 @@ post_advertising (void *cls, | |||
221 | * Main function that will be run by the scheduler. | 221 | * Main function that will be run by the scheduler. |
222 | * | 222 | * |
223 | * @param cls closure | 223 | * @param cls closure |
224 | * @param sched the scheduler to use | ||
225 | * @param args remaining command-line arguments | 224 | * @param args remaining command-line arguments |
226 | * @param cfgfile name of the configuration file used (for saving, can be NULL!) | 225 | * @param cfgfile name of the configuration file used (for saving, can be NULL!) |
227 | * @param c configuration | 226 | * @param c configuration |
228 | */ | 227 | */ |
229 | static void | 228 | static void |
230 | run (void *cls, | 229 | run (void *cls, |
231 | struct GNUNET_SCHEDULER_Handle *sched, | ||
232 | char *const *args, | 230 | char *const *args, |
233 | const char *cfgfile, | 231 | const char *cfgfile, |
234 | const struct GNUNET_CONFIGURATION_Handle *c) | 232 | const struct GNUNET_CONFIGURATION_Handle *c) |
@@ -237,8 +235,7 @@ run (void *cls, | |||
237 | char *emsg; | 235 | char *emsg; |
238 | 236 | ||
239 | cfg = c; | 237 | cfg = c; |
240 | h = GNUNET_FS_start (sched, | 238 | h = GNUNET_FS_start (cfg, |
241 | cfg, | ||
242 | "gnunet-pseudonym", | 239 | "gnunet-pseudonym", |
243 | &progress_cb, | 240 | &progress_cb, |
244 | NULL, | 241 | NULL, |