From: Nick Mathewson Date: Tue, 17 Apr 2018 23:39:50 +0000 (-0400) Subject: Fix a copy-and-paste error from 6be994fa717cf73 X-Git-Tag: tor-0.3.4.1-alpha~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d67d3dd1456edf20e79bd1ba105536bdcdbfc4dc;p=thirdparty%2Ftor.git Fix a copy-and-paste error from 6be994fa717cf73 Found by clang's scan-build too. Bug not in any released Tor. --- diff --git a/src/or/config.c b/src/or/config.c index 206274cd38..9c0b321b56 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);