diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-23 08:35:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-23 08:35:49 +0000 |
commit | c00ade9abf751ea2157f1f78dd834257fe19ed6c (patch) | |
tree | 0eebb88f356ba98fce52398dcea22a89011d7e6d /src/fs/gnunet-service-fs_pr.c | |
parent | 8f850cddd40436aa9f5a3ec82606dd5bceebef3d (diff) | |
download | gnunet-c00ade9abf751ea2157f1f78dd834257fe19ed6c.tar.gz gnunet-c00ade9abf751ea2157f1f78dd834257fe19ed6c.zip |
-passing total trust offered along (fixing #1369)
Diffstat (limited to 'src/fs/gnunet-service-fs_pr.c')
-rw-r--r-- | src/fs/gnunet-service-fs_pr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index 2893481f2..3c12edfb9 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -530,6 +530,8 @@ GSF_pending_request_get_message_ (struct GSF_PendingRequest *pr, | |||
530 | else | 530 | else |
531 | prio = 0; | 531 | prio = 0; |
532 | pr->public_data.priority -= prio; | 532 | pr->public_data.priority -= prio; |
533 | pr->public_data.num_transmissions++; | ||
534 | pr->public_data.respect_offered += prio; | ||
533 | gm->priority = htonl (prio); | 535 | gm->priority = htonl (prio); |
534 | now = GNUNET_TIME_absolute_get (); | 536 | now = GNUNET_TIME_absolute_get (); |
535 | ttl = (int64_t) (pr->public_data.ttl.abs_value - now.abs_value); | 537 | ttl = (int64_t) (pr->public_data.ttl.abs_value - now.abs_value); |