diff options
Diffstat (limited to 'src/fs/gnunet-service-fs.c')
-rw-r--r-- | src/fs/gnunet-service-fs.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c index b824e6dc6..6652ecb16 100644 --- a/src/fs/gnunet-service-fs.c +++ b/src/fs/gnunet-service-fs.c | |||
@@ -400,18 +400,13 @@ start_p2p_processing (void *cls, struct GSF_PendingRequest *pr, | |||
400 | struct GNUNET_SERVER_Client *client = cls; | 400 | struct GNUNET_SERVER_Client *client = cls; |
401 | struct GSF_PendingRequestData *prd; | 401 | struct GSF_PendingRequestData *prd; |
402 | 402 | ||
403 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | ||
404 | if (GNUNET_BLOCK_EVALUATION_OK_LAST == result) | ||
405 | return; /* we're done, 'pr' was already destroyed... */ | ||
403 | prd = GSF_pending_request_get_data_ (pr); | 406 | prd = GSF_pending_request_get_data_ (pr); |
404 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 407 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
405 | "Finished database lookup for local request `%s' with result %d\n", | 408 | "Finished database lookup for local request `%s' with result %d\n", |
406 | GNUNET_h2s (&prd->query), result); | 409 | GNUNET_h2s (&prd->query), result); |
407 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | ||
408 | if (GNUNET_BLOCK_EVALUATION_OK_LAST == result) | ||
409 | return; /* we're done, 'pr' was already destroyed... */ | ||
410 | if (0 != (GSF_PRO_LOCAL_ONLY & prd->options)) | ||
411 | { | ||
412 | GSF_pending_request_cancel_ (pr, GNUNET_YES); | ||
413 | return; | ||
414 | } | ||
415 | if (0 == prd->anonymity_level) | 410 | if (0 == prd->anonymity_level) |
416 | { | 411 | { |
417 | switch (prd->type) | 412 | switch (prd->type) |