summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorwhitespace / reindent <invalid@invalid.invalid>2017-07-17 21:26:02 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-07-17 21:26:02 +0200
commitc14777c6bfd0a446c85243d3a9835054a259c276 (patch)
tree2021f7d89a6046f81ff1f44d256ecff28282568f /tools
parentMerge pull request #826 from qlyoung/rm-vtyoutln (diff)
downloadfrr-c14777c6bfd0a446c85243d3a9835054a259c276.tar.xz
frr-c14777c6bfd0a446c85243d3a9835054a259c276.zip
*: reindent pt. 2
w/ clang 5 * reflow comments * struct members go 1 per line * binpack algo was adjusted
Diffstat (limited to 'tools')
-rw-r--r--tools/start-stop-daemon.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/start-stop-daemon.c b/tools/start-stop-daemon.c
index 39527eca7..7372cc844 100644
--- a/tools/start-stop-daemon.c
+++ b/tools/start-stop-daemon.c
@@ -869,12 +869,13 @@ static int run_stop_schedule(void)
if (ratio < 10)
ratio++;
- TVCALC(interval,
- ratio * (TVELEM(&after) - TVELEM(&before)
- + TVADJUST));
- TVCALC(maxinterval,
- TVELEM(&stopat) - TVELEM(&after)
- + TVADJUST);
+ TVCALC(interval, ratio
+ * (TVELEM(&after)
+ - TVELEM(&before)
+ + TVADJUST));
+ TVCALC(maxinterval, TVELEM(&stopat)
+ - TVELEM(&after)
+ + TVADJUST);
if (timercmp(&interval, &maxinterval, >))
interval = maxinterval;