Fix a copy-and-paste error from 6be994fa71

Found by clang's scan-build too.  Bug not in any released Tor.
This commit is contained in:
Nick Mathewson 2018-04-17 19:39:50 -04:00
parent 31fbbf2377
commit d67d3dd145

View File

@ -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);