diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-18 19:03:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-18 19:03:26 +0000 |
commit | c456c5bb7f9b95d1800ad6e2892a77f40a08493e (patch) | |
tree | 8b04e75f8a65225848816d8e588b28413ff9d758 /src/fs/fs_tree.c | |
parent | 6d0a62078edfa5c0001acb93d517c674c5124f4e (diff) | |
download | gnunet-c456c5bb7f9b95d1800ad6e2892a77f40a08493e.tar.gz gnunet-c456c5bb7f9b95d1800ad6e2892a77f40a08493e.zip |
make all (?) asynchronously operating FS operations actually cancel-able
Diffstat (limited to 'src/fs/fs_tree.c')
-rw-r--r-- | src/fs/fs_tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index fc04446c9..2ac38ffd3 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -360,8 +360,7 @@ GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder *te) | |||
360 | if (pt_size != | 360 | if (pt_size != |
361 | te->reader (te->cls, te->publish_offset, pt_size, iob, &te->emsg)) | 361 | te->reader (te->cls, te->publish_offset, pt_size, iob, &te->emsg)) |
362 | { | 362 | { |
363 | GNUNET_SCHEDULER_add_continuation (te->cont, te->cls, | 363 | te->cont (te->cls, NULL); |
364 | GNUNET_SCHEDULER_REASON_TIMEOUT); | ||
365 | te->in_next = GNUNET_NO; | 364 | te->in_next = GNUNET_NO; |
366 | return; | 365 | return; |
367 | } | 366 | } |