aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_search.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-06-27 11:01:27 +0000
committerChristian Grothoff <christian@grothoff.org>2010-06-27 11:01:27 +0000
commitbca37a7213a37ffc72af213f04d6758e82a155f1 (patch)
treecb72a4903f611555d8aa34a99fbb05dd0245dc32 /src/fs/fs_search.c
parent2a8272511874e578501d6a3ff083612fe51ccaaf (diff)
downloadgnunet-bca37a7213a37ffc72af213f04d6758e82a155f1.tar.gz
gnunet-bca37a7213a37ffc72af213f04d6758e82a155f1.zip
fix handling of search stop with active download
Diffstat (limited to 'src/fs/fs_search.c')
-rw-r--r--src/fs/fs_search.c3
1 files changed, 3 insertions, 0 deletions
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,
1424 if (NULL != sr->download) 1424 if (NULL != sr->download)
1425 { 1425 {
1426 sr->download->search = NULL; 1426 sr->download->search = NULL;
1427 sr->download->top = GNUNET_FS_make_top (sr->download->h,
1428 &GNUNET_FS_download_signal_suspend_,
1429 sr->download);
1427 if (NULL != sr->download->serialization) 1430 if (NULL != sr->download->serialization)
1428 { 1431 {
1429 GNUNET_FS_remove_sync_file_ (sc->h, 1432 GNUNET_FS_remove_sync_file_ (sc->h,