From bca37a7213a37ffc72af213f04d6758e82a155f1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 27 Jun 2010 11:01:27 +0000 Subject: [PATCH] fix handling of search stop with active download --- src/fs/fs_search.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index da61cea57..2c7d34b08 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c @@ -1424,6 +1424,9 @@ search_result_free (void *cls, if (NULL != sr->download) { sr->download->search = NULL; + sr->download->top = GNUNET_FS_make_top (sr->download->h, + &GNUNET_FS_download_signal_suspend_, + sr->download); if (NULL != sr->download->serialization) { GNUNET_FS_remove_sync_file_ (sc->h, -- 2.25.1