aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-10-05 08:59:51 -0400
committerNick Mathewson <nickm@torproject.org>2023-10-05 09:07:37 -0400
commita7993bbd72e44868384832af67c03595918b4bfb (patch)
tree89e6add38aae7999fe73b83ce74cf8fa1311d0ea /src
parenta937648022546e8b0953e2bc918bb609e59acaf3 (diff)
downloadtor-a7993bbd72e44868384832af67c03595918b4bfb.tar.gz
tor-a7993bbd72e44868384832af67c03595918b4bfb.zip
Whoops: test the "wrong" name for maxunmeasurdbw (sic).
Now that we never use an earlier consensus method, our tests actually hit this, and we find that we have misspelled "maxunmeasurdbw" (sic) in dirvote.c. I have opened ticket #40869 to track this misspelling.
Diffstat (limited to 'src')
-rw-r--r--src/test/test_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 87aaef7fe6..baf67be4f8 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -4107,7 +4107,7 @@ vote_tweaks_for_umbw(networkstatus_t *v, int voter, time_t now)
NULL, 0, -1);
/* If we're using a non-default clip bandwidth, add it to net_params */
if (alternate_clip_bw > 0) {
- tor_asprintf(&maxbw_param, "maxunmeasuredbw=%u", alternate_clip_bw);
+ tor_asprintf(&maxbw_param, "maxunmeasurdbw=%u", alternate_clip_bw);
tt_assert(maxbw_param);
if (maxbw_param) {
smartlist_add(v->net_params, maxbw_param);