mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Keep make check-spaces happy
This commit is contained in:
parent
c138c9a2be
commit
94c27d4e8f
@ -2866,11 +2866,11 @@ getinfo_helper_policies(control_connection_t *conn,
|
|||||||
}
|
}
|
||||||
|
|
||||||
policies_parse_exit_policy_reject_private(
|
policies_parse_exit_policy_reject_private(
|
||||||
&private_policy_list,
|
&private_policy_list,
|
||||||
options->IPv6Exit,
|
options->IPv6Exit,
|
||||||
configured_addresses,
|
configured_addresses,
|
||||||
options->ExitPolicyRejectLocalInterfaces,
|
options->ExitPolicyRejectLocalInterfaces,
|
||||||
options->ExitPolicyRejectLocalInterfaces);
|
options->ExitPolicyRejectLocalInterfaces);
|
||||||
*answer = policy_dump_to_string(private_policy_list, 1, 1);
|
*answer = policy_dump_to_string(private_policy_list, 1, 1);
|
||||||
|
|
||||||
addr_policy_list_free(private_policy_list);
|
addr_policy_list_free(private_policy_list);
|
||||||
|
@ -823,7 +823,8 @@ test_address_get_if_addrs6_list_no_internal(void *arg)
|
|||||||
|
|
||||||
(void)arg;
|
(void)arg;
|
||||||
|
|
||||||
int prev_level = setup_capture_of_logs(LOG_ERR); /* We might drop a log_err */
|
/* We might drop a log_err */
|
||||||
|
int prev_level = setup_capture_of_logs(LOG_ERR);
|
||||||
results = get_interface_address6_list(LOG_ERR, AF_INET6, 0);
|
results = get_interface_address6_list(LOG_ERR, AF_INET6, 0);
|
||||||
tt_int_op(smartlist_len(mock_saved_logs()), OP_LE, 1);
|
tt_int_op(smartlist_len(mock_saved_logs()), OP_LE, 1);
|
||||||
teardown_capture_of_logs(prev_level);
|
teardown_capture_of_logs(prev_level);
|
||||||
|
Loading…
Reference in New Issue
Block a user