[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix a copy-and-paste error from 6be994fa717cf73
commit d67d3dd1456edf20e79bd1ba105536bdcdbfc4dc
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Tue Apr 17 19:39:50 2018 -0400
Fix a copy-and-paste error from 6be994fa717cf73
Found by clang's scan-build too. Bug not in any released Tor.
---
src/or/config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/config.c b/src/or/config.c
index 206274cd3..9c0b321b5 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2190,7 +2190,7 @@ options_act(const or_options_t *old_options)
if (options->BandwidthRate != old_options->BandwidthRate ||
options->BandwidthBurst != old_options->BandwidthBurst ||
- options->BandwidthRate != old_options->BandwidthRate ||
+ options->RelayBandwidthRate != old_options->RelayBandwidthRate ||
options->RelayBandwidthBurst != old_options->RelayBandwidthBurst)
connection_bucket_adjust(options);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits