-check for sks results --- #2352 first bug
authorChristian Grothoff <christian@grothoff.org>
Wed, 16 May 2012 23:15:34 +0000 (23:15 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 16 May 2012 23:15:34 +0000 (23:15 +0000)
src/fs/fs_search.c

index c91ddbeb7c2462ef9299a3e8d32a496d76ab1578..de1a698e55d0e224490349a4b622156a6438c6df 100644 (file)
@@ -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;