From: Christian Grothoff Date: Fri, 12 Mar 2010 16:15:22 +0000 (+0000) Subject: proper abort X-Git-Tag: initial-import-from-subversion-38251~22487 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=26a94c3717bc548ad6cba63a32f314beb354ed98;p=oweals%2Fgnunet.git proper abort --- 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, struct GNUNET_FS_TestDaemon *daemon = cls; daemon->download_timeout_task = GNUNET_SCHEDULER_NO_TASK; + GNUNET_FS_download_stop (daemon->download_context, GNUNET_YES); + daemon->download_context = NULL; GNUNET_SCHEDULER_add_continuation (daemon->download_sched, daemon->download_cont, daemon->download_cont_cls,