diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-16 23:15:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-16 23:15:34 +0000 |
commit | 3dc2315c9c73418d37c8390ad7c8400c55be146f (patch) | |
tree | 14245089f99ba8602871848d4d8da248d25e92ac /src | |
parent | 6aceac9f6052d42ac0e803eadadeb250d8e70013 (diff) | |
download | gnunet-3dc2315c9c73418d37c8390ad7c8400c55be146f.tar.gz gnunet-3dc2315c9c73418d37c8390ad7c8400c55be146f.zip |
-check for sks results --- #2352 first bug
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/fs_search.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
347 | return; | 347 | return; |
348 | if (sr->availability_trials > AVAILABILITY_TRIALS_MAX) | 348 | if (sr->availability_trials > AVAILABILITY_TRIALS_MAX) |
349 | return; | 349 | return; |
350 | if ( (sr->uri->type != chk) && (sr->uri->type != loc)) | ||
351 | return; | ||
350 | len = GNUNET_FS_uri_chk_get_file_size (sr->uri); | 352 | len = GNUNET_FS_uri_chk_get_file_size (sr->uri); |
351 | if (len == 0) | 353 | if (len == 0) |
352 | return; | 354 | return; |