From: Christian Grothoff Date: Wed, 16 May 2012 23:15:34 +0000 (+0000) Subject: -check for sks results --- #2352 first bug X-Git-Tag: initial-import-from-subversion-38251~13448 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3dc2315c9c73418d37c8390ad7c8400c55be146f;p=oweals%2Fgnunet.git -check for sks results --- #2352 first bug --- diff --git a/src/fs/fs_search.c b/src/fs/fs_search.c index c91ddbeb7..de1a698e5 100644 --- a/src/fs/fs_search.c +++ b/src/fs/fs_search.c @@ -347,6 +347,8 @@ GNUNET_FS_search_start_probe_ (struct GNUNET_FS_SearchResult *sr) return; if (sr->availability_trials > AVAILABILITY_TRIALS_MAX) return; + if ( (sr->uri->type != chk) && (sr->uri->type != loc)) + return; len = GNUNET_FS_uri_chk_get_file_size (sr->uri); if (len == 0) return;