-another case
authorChristian Grothoff <christian@grothoff.org>
Mon, 26 Oct 2015 01:01:07 +0000 (01:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 26 Oct 2015 01:01:07 +0000 (01:01 +0000)
src/fs/gnunet-service-fs.c

index 667e4f8ba09989373030c85650f85688a05300ce..e540306326e84eef84f12db6671492c8ec66506b 100644 (file)
@@ -355,6 +355,9 @@ consider_forwarding (void *cls,
 {
   if (GNUNET_BLOCK_EVALUATION_OK_LAST == result)
     return;                     /* we're done... */
+  if (GNUNET_YES !=
+      GSF_pending_request_test_active_ (pr))
+    return; /* request is not actually active, skip! */
   GSF_iterate_connected_peers_ (&consider_request_for_forwarding,
                                 pr);
 }