Fix warnings from check-spaces

This commit is contained in:
Nick Mathewson 2016-02-01 10:24:13 -05:00
parent ac7e43d30a
commit 7631cffbcc

View File

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