aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-26 00:53:32 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-26 00:53:32 +0000
commit6342157c3068d482f7f8c02b7229e80eba2c94dc (patch)
tree3c5b9f1af6637e05471ca3cfae2b268e08f00b2b /src/fs/gnunet-service-fs.c
parent0cd7408a37d1daefc6394027247b10d0efaae1a3 (diff)
downloadgnunet-6342157c3068d482f7f8c02b7229e80eba2c94dc.tar.gz
gnunet-6342157c3068d482f7f8c02b7229e80eba2c94dc.zip
potential fix for #4024
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r--src/fs/gnunet-service-fs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index b4f336a6c..667e4f8ba 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/fs/gnunet-service-fs.c
@@ -591,6 +591,9 @@ consider_peer_for_forwarding (void *cls,
591 struct GSF_ConnectedPeer *cp = cls; 591 struct GSF_ConnectedPeer *cp = cls;
592 struct GNUNET_PeerIdentity pid; 592 struct GNUNET_PeerIdentity pid;
593 593
594 if (GNUNET_YES !=
595 GSF_pending_request_test_active_ (pr))
596 return GNUNET_YES; /* request is not actually active, skip! */
594 GSF_connected_peer_get_identity_ (cp, &pid); 597 GSF_connected_peer_get_identity_ (cp, &pid);
595 if (GNUNET_YES != 598 if (GNUNET_YES !=
596 GSF_pending_request_test_target_ (pr, &pid)) 599 GSF_pending_request_test_target_ (pr, &pid))