diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-21 13:29:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-21 13:29:22 +0000 |
commit | ef98e4c68e05e88ced677d66b9e5b57a382df70d (patch) | |
tree | 64f88544acb7180ba2ca639050059bbb01252e65 /src/fs/gnunet-service-fs_pr.c | |
parent | 8b23412a0e353778e83b370260e40d63a18c3927 (diff) | |
download | gnunet-ef98e4c68e05e88ced677d66b9e5b57a382df70d.tar.gz gnunet-ef98e4c68e05e88ced677d66b9e5b57a382df70d.zip |
fix
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.c')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index f8ca82800..f327d9b4b 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -338,6 +338,7 @@ GSF_pending_request_create_ (enum GSF_PendingRequestOptions options, | |||
338 | if (pr == dpr) | 338 | if (pr == dpr) |
339 | break; /* let the request live briefly... */ | 339 | break; /* let the request live briefly... */ |
340 | dpr->rh (dpr->rh_cls, | 340 | dpr->rh (dpr->rh_cls, |
341 | GNUNET_BLOCK_EVALUATION_REQUEST_VALID, | ||
341 | dpr, | 342 | dpr, |
342 | GNUNET_TIME_UNIT_FOREVER_ABS, | 343 | GNUNET_TIME_UNIT_FOREVER_ABS, |
343 | GNUNET_BLOCK_TYPE_ANY, | 344 | GNUNET_BLOCK_TYPE_ANY, |
@@ -705,11 +706,11 @@ process_reply (void *cls, | |||
705 | GNUNET_TIME_absolute_get_duration (pr->public_data.start_time).rel_value); | 706 | GNUNET_TIME_absolute_get_duration (pr->public_data.start_time).rel_value); |
706 | /* pass on to other peers / local clients */ | 707 | /* pass on to other peers / local clients */ |
707 | pr->rh (pr->rh_cls, | 708 | pr->rh (pr->rh_cls, |
709 | prq->eval, | ||
708 | pr, | 710 | pr, |
709 | prq->expiration, | 711 | prq->expiration, |
710 | prq->type, | 712 | prq->type, |
711 | prq->data, prq->size); | 713 | prq->data, prq->size); |
712 | GSF_pending_request_cancel_ (pr); | ||
713 | return GNUNET_YES; | 714 | return GNUNET_YES; |
714 | case GNUNET_BLOCK_EVALUATION_OK_DUPLICATE: | 715 | case GNUNET_BLOCK_EVALUATION_OK_DUPLICATE: |
715 | GNUNET_STATISTICS_update (GSF_stats, | 716 | GNUNET_STATISTICS_update (GSF_stats, |
@@ -764,6 +765,7 @@ process_reply (void *cls, | |||
764 | prq->request_found = GNUNET_YES; | 765 | prq->request_found = GNUNET_YES; |
765 | /* finally, pass on to other peer / local client */ | 766 | /* finally, pass on to other peer / local client */ |
766 | pr->rh (pr->rh_cls, | 767 | pr->rh (pr->rh_cls, |
768 | prq->eval, | ||
767 | pr, | 769 | pr, |
768 | prq->expiration, | 770 | prq->expiration, |
769 | prq->type, | 771 | prq->type, |