diff options
Diffstat (limited to 'src/fs/gnunet-service-fs_pe.c')
-rw-r--r-- | src/fs/gnunet-service-fs_pe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_pe.c b/src/fs/gnunet-service-fs_pe.c index 7933b2dee..bb4b07c02 100644 --- a/src/fs/gnunet-service-fs_pe.c +++ b/src/fs/gnunet-service-fs_pe.c | |||
@@ -300,8 +300,7 @@ plan (struct PeerPlan *pp, | |||
300 | * which satisfies all of the rules above. | 300 | * which satisfies all of the rules above. |
301 | * | 301 | * |
302 | * Note: M_PI_4 = PI/4 = arctan(1) | 302 | * Note: M_PI_4 = PI/4 = arctan(1) |
303 | */ | 303 | */rp->priority = |
304 | rp->priority = | ||
305 | round ((GSF_current_priorities | 304 | round ((GSF_current_priorities |
306 | + 1.0) * atan (delay.rel_value_us / avg_delay)) / M_PI_4; | 305 | + 1.0) * atan (delay.rel_value_us / avg_delay)) / M_PI_4; |
307 | /* Note: usage of 'round' and 'atan' requires -lm */ | 306 | /* Note: usage of 'round' and 'atan' requires -lm */ |
@@ -812,5 +811,4 @@ GSF_plan_done () | |||
812 | } | 811 | } |
813 | 812 | ||
814 | 813 | ||
815 | |||
816 | /* end of gnunet-service-fs_pe.h */ | 814 | /* end of gnunet-service-fs_pe.h */ |