mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Fix warnings from check-spaces
This commit is contained in:
parent
ac7e43d30a
commit
7631cffbcc
@ -370,7 +370,7 @@ get_options_test_data(const char *conf)
|
|||||||
}
|
}
|
||||||
tt_assert(rv == 0);
|
tt_assert(rv == 0);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
config_free_lines(cl);
|
config_free_lines(cl);
|
||||||
if (rv != 0) {
|
if (rv != 0) {
|
||||||
free_options_test_data(result);
|
free_options_test_data(result);
|
||||||
@ -1475,7 +1475,8 @@ test_options_validate__paths_needed(void *ignored)
|
|||||||
tt_int_op(ret, OP_EQ, -1);
|
tt_int_op(ret, OP_EQ, -1);
|
||||||
tt_assert(tdata->opt->PathsNeededToBuildCircuits > 0.24 &&
|
tt_assert(tdata->opt->PathsNeededToBuildCircuits > 0.24 &&
|
||||||
tdata->opt->PathsNeededToBuildCircuits < 0.26);
|
tdata->opt->PathsNeededToBuildCircuits < 0.26);
|
||||||
expect_log_msg("PathsNeededToBuildCircuits is too low. Increasing to 0.25\n");
|
expect_log_msg("PathsNeededToBuildCircuits is too low. "
|
||||||
|
"Increasing to 0.25\n");
|
||||||
tor_free(msg);
|
tor_free(msg);
|
||||||
|
|
||||||
free_options_test_data(tdata);
|
free_options_test_data(tdata);
|
||||||
|
Loading…
Reference in New Issue
Block a user