diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/fs/gnunet-service-fs_pe.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
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 */ |