diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-03-12 16:15:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-03-12 16:15:22 +0000 |
commit | 26a94c3717bc548ad6cba63a32f314beb354ed98 (patch) | |
tree | 740f34c4c31b0e2de2aba613b9049a91a775c828 | |
parent | 5e91a0f51e433d0b5eea7deff728d63cd59e9d6a (diff) | |
download | gnunet-26a94c3717bc548ad6cba63a32f314beb354ed98.tar.gz gnunet-26a94c3717bc548ad6cba63a32f314beb354ed98.zip |
proper abort
-rw-r--r-- | src/fs/fs_test_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c index f83f8c211..fb179e8a4 100644 --- a/src/fs/fs_test_lib.c +++ b/src/fs/fs_test_lib.c | |||
@@ -553,6 +553,8 @@ download_timeout (void *cls, | |||
553 | struct GNUNET_FS_TestDaemon *daemon = cls; | 553 | struct GNUNET_FS_TestDaemon *daemon = cls; |
554 | 554 | ||
555 | daemon->download_timeout_task = GNUNET_SCHEDULER_NO_TASK; | 555 | daemon->download_timeout_task = GNUNET_SCHEDULER_NO_TASK; |
556 | GNUNET_FS_download_stop (daemon->download_context, GNUNET_YES); | ||
557 | daemon->download_context = NULL; | ||
556 | GNUNET_SCHEDULER_add_continuation (daemon->download_sched, | 558 | GNUNET_SCHEDULER_add_continuation (daemon->download_sched, |
557 | daemon->download_cont, | 559 | daemon->download_cont, |
558 | daemon->download_cont_cls, | 560 | daemon->download_cont_cls, |