From 26a94c3717bc548ad6cba63a32f314beb354ed98 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 12 Mar 2010 16:15:22 +0000 Subject: [PATCH] proper abort --- src/fs/fs_test_lib.c | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.25.1