From 3dc2315c9c73418d37c8390ad7c8400c55be146f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 16 May 2012 23:15:34 +0000 Subject: [PATCH] -check for sks results --- #2352 first bug --- src/fs/fs_search.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.25.1