[tor-commits] [tor/master] Fix a copy-and-paste error from 6be994fa717cf73

nickm at torproject.org nickm at torproject.org
Tue Apr 17 23:46:33 UTC 2018


commit d67d3dd1456edf20e79bd1ba105536bdcdbfc4dc
Author: Nick Mathewson <nickm at torproject.org>
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);
 





More information about the tor-commits mailing list