diff options
author | Roger Dingledine <arma@torproject.org> | 2015-02-18 19:27:02 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2015-02-18 19:27:02 -0500 |
commit | 0e4bdc400576ba71ae885e94d32adc0e79e8e7fc (patch) | |
tree | 756b242ee54ebd3216fe5fe25d6c9d79ed18a5ad /src/or/dirvote.c | |
parent | b401ccefd78593c16da5692c77c8c65976fd63d2 (diff) | |
download | tor-0e4bdc400576ba71ae885e94d32adc0e79e8e7fc.tar.gz tor-0e4bdc400576ba71ae885e94d32adc0e79e8e7fc.zip |
clean up comments and whitespace a bit
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r-- | src/or/dirvote.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c index f5694bab62..7a5154dae5 100644 --- a/src/or/dirvote.c +++ b/src/or/dirvote.c @@ -1060,7 +1060,8 @@ update_total_bandwidth_weights(const routerstatus_t *rs, * E' = E + (1-F)*B, if N has the exit flag * * In this block of code, we prepare the bandwidth values by setting - * the default_bandwidth to F*B and guardfraction_bandwidth to (1-F)*B. */ + * the default_bandwidth to F*B and guardfraction_bandwidth to (1-F)*B. + */ if (rs->has_guardfraction) { guardfraction_bandwidth_t guardfraction_bw; @@ -1075,10 +1076,11 @@ update_total_bandwidth_weights(const routerstatus_t *rs, } /* Now calculate the total bandwidth weights with or without - guardfraction. Depending on the flags of the relay, add its - bandwidth to the appropriate weight pool. If it's a guard and - guardfraction is enabled, add its bandwidth to both pools as - indicated by the previous comment. */ + * guardfraction. Depending on the flags of the relay, add its + * bandwidth to the appropriate weight pool. If it's a guard and + * guardfraction is enabled, add its bandwidth to both pools as + * indicated by the previous comment. + */ *T += default_bandwidth; if (is_exit && is_guard) { |