aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-08 14:32:09 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-08 14:33:16 -0400
commit8be6058d8f31e578de2ba9783b2ccb5da5ab0d9e (patch)
tree9740d279d9925065ee76c0dccd3af84c1d01f3bf /src
parent554ec65ce72966ae319743aea629a562f26748a3 (diff)
downloadtor-8be6058d8f31e578de2ba9783b2ccb5da5ab0d9e.tar
tor-8be6058d8f31e578de2ba9783b2ccb5da5ab0d9e.tar.gz
changes file and whitespace fix for bug5235 patch
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 3be029b0e..feda4f1f1 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1847,8 +1847,8 @@ smartlist_choose_node_by_bandwidth_weights(smartlist_t *sl,
static ratelim_t zero_bandwidth_warning_limit =
RATELIM_INIT(ZERO_BANDWIDTH_WARNING_INTERVAL);
char *msg;
- if ( ( msg = rate_limit_log( &zero_bandwidth_warning_limit,
- approx_time() ) ) ) {
+ if ((msg = rate_limit_log(&zero_bandwidth_warning_limit,
+ approx_time()))) {
log_warn(LD_CIRC,
"Weighted bandwidth is %f in node selection for rule %s "
"(unweighted was %f) %s",