mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Placate "make check-spaces"
This commit is contained in:
parent
d860b99dbf
commit
55713f0d79
3 changed files with 3 additions and 3 deletions
|
@ -238,3 +238,4 @@ mock_dump_saved_logs(void)
|
||||||
escaped(m->generated_msg));
|
escaped(m->generated_msg));
|
||||||
} SMARTLIST_FOREACH_END(m);
|
} SMARTLIST_FOREACH_END(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -801,7 +801,6 @@ test_address_get_if_addrs6_list_internal(void *arg)
|
||||||
if (smartlist_len(mock_saved_logs()) == 1) {
|
if (smartlist_len(mock_saved_logs()) == 1) {
|
||||||
expect_log_msg_containing_either("connect() failed",
|
expect_log_msg_containing_either("connect() failed",
|
||||||
"unable to create socket");
|
"unable to create socket");
|
||||||
|
|
||||||
}
|
}
|
||||||
teardown_capture_of_logs();
|
teardown_capture_of_logs();
|
||||||
|
|
||||||
|
@ -840,7 +839,6 @@ test_address_get_if_addrs6_list_no_internal(void *arg)
|
||||||
if (smartlist_len(mock_saved_logs()) == 1) {
|
if (smartlist_len(mock_saved_logs()) == 1) {
|
||||||
expect_log_msg_containing_either("connect() failed",
|
expect_log_msg_containing_either("connect() failed",
|
||||||
"unable to create socket");
|
"unable to create socket");
|
||||||
|
|
||||||
}
|
}
|
||||||
teardown_capture_of_logs();
|
teardown_capture_of_logs();
|
||||||
|
|
||||||
|
|
|
@ -4238,7 +4238,8 @@ test_config_parse_port_config__ports__ports_given(void *data)
|
||||||
config_free_lines(config_port_valid); config_port_valid = NULL;
|
config_free_lines(config_port_valid); config_port_valid = NULL;
|
||||||
SMARTLIST_FOREACH(slout,port_cfg_t *,pf,port_cfg_free(pf));
|
SMARTLIST_FOREACH(slout,port_cfg_t *,pf,port_cfg_free(pf));
|
||||||
smartlist_clear(slout);
|
smartlist_clear(slout);
|
||||||
config_port_valid = mock_config_line("SOCKSPort", "42 IPv6Traffic PreferIPv6");
|
config_port_valid = mock_config_line("SOCKSPort",
|
||||||
|
"42 IPv6Traffic PreferIPv6");
|
||||||
ret = parse_port_config(slout, config_port_valid, NULL, "SOCKS",
|
ret = parse_port_config(slout, config_port_valid, NULL, "SOCKS",
|
||||||
CONN_TYPE_AP_LISTENER, "127.0.0.42", 0,
|
CONN_TYPE_AP_LISTENER, "127.0.0.42", 0,
|
||||||
CL_PORT_TAKES_HOSTNAMES);
|
CL_PORT_TAKES_HOSTNAMES);
|
||||||
|
|
Loading…
Add table
Reference in a new issue