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/fs_tree.c | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/fs/fs_tree.c')
-rw-r--r-- | src/fs/fs_tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index 55f7b0e09..b38a9c382 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -329,8 +329,7 @@ void GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder * te) | |||
329 | iob, | 329 | iob, |
330 | &te->emsg)) | 330 | &te->emsg)) |
331 | { | 331 | { |
332 | GNUNET_SCHEDULER_add_continuation (te->h->sched, | 332 | GNUNET_SCHEDULER_add_continuation (te->cont, |
333 | te->cont, | ||
334 | te->cls, | 333 | te->cls, |
335 | GNUNET_SCHEDULER_REASON_TIMEOUT); | 334 | GNUNET_SCHEDULER_REASON_TIMEOUT); |
336 | return; | 335 | return; |
@@ -350,8 +349,7 @@ void GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder * te) | |||
350 | te->uri->type = chk; | 349 | te->uri->type = chk; |
351 | te->uri->data.chk.chk = te->chk_tree[0]; | 350 | te->uri->data.chk.chk = te->chk_tree[0]; |
352 | te->uri->data.chk.file_length = GNUNET_htonll (te->size); | 351 | te->uri->data.chk.file_length = GNUNET_htonll (te->size); |
353 | GNUNET_SCHEDULER_add_continuation (te->h->sched, | 352 | GNUNET_SCHEDULER_add_continuation (te->cont, |
354 | te->cont, | ||
355 | te->cls, | 353 | te->cls, |
356 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 354 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
357 | return; | 355 | return; |