diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-02-19 13:52:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-02-19 13:52:24 +0000 |
commit | 5bad33167fe0e7c696144ae7060eb89b0862f7b0 (patch) | |
tree | 3f4499669fb06ca1d8f1d3f8d6155475ffdfe86c /src/fs/fs_search.c | |
parent | 61cf48f3f9caab1c98686e5012fd400853f8fbdd (diff) | |
download | gnunet-5bad33167fe0e7c696144ae7060eb89b0862f7b0.tar.gz gnunet-5bad33167fe0e7c696144ae7060eb89b0862f7b0.zip |
handle case where partial download prevents proper bottom-up reconstruction as not all child-nodes are even attempted; handle case where probe returns results immediately while being created (do not break on that)
Diffstat (limited to 'src/fs/fs_search.c')
-rw-r--r-- | src/fs/fs_search.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index 90b5eb215..57c3816b7 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c | |||
@@ -341,12 +341,6 @@ GNUNET_FS_search_probe_progress_ (void *cls, | |||
341 | GNUNET_SCHEDULER_add_delayed (sr->remaining_probe_time, | 341 | GNUNET_SCHEDULER_add_delayed (sr->remaining_probe_time, |
342 | &probe_failure_handler, sr); | 342 | &probe_failure_handler, sr); |
343 | } | 343 | } |
344 | else | ||
345 | { | ||
346 | /* should only happen if the cancel task was already | ||
347 | created on 'DOWNLOAD_INACTIVE' as we were out of time */ | ||
348 | GNUNET_break (0 == sr->remaining_probe_time.rel_value_us); | ||
349 | } | ||
350 | break; | 344 | break; |
351 | case GNUNET_FS_STATUS_DOWNLOAD_INACTIVE: | 345 | case GNUNET_FS_STATUS_DOWNLOAD_INACTIVE: |
352 | if (GNUNET_SCHEDULER_NO_TASK != sr->probe_cancel_task) | 346 | if (GNUNET_SCHEDULER_NO_TASK != sr->probe_cancel_task) |