From: Christian Grothoff Date: Sun, 27 Jun 2010 11:01:27 +0000 (+0000) Subject: fix handling of search stop with active download X-Git-Tag: initial-import-from-subversion-38251~21195 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bca37a7213a37ffc72af213f04d6758e82a155f1;p=oweals%2Fgnunet.git fix handling of search stop with active download --- 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,