Whitespace cleaning

This commit is contained in:
Nick Mathewson 2016-10-14 10:40:31 -04:00
parent 1a2aa4e3f8
commit 55c468c521
5 changed files with 2 additions and 6 deletions

View File

@ -382,8 +382,8 @@ rend_service_parse_port_config(const char *string, const char *sep,
ret = port_cfg_line_extract_addrport(addrport_element, &addrport, ret = port_cfg_line_extract_addrport(addrport_element, &addrport,
&is_unix, &rest); &is_unix, &rest);
if (ret < 0) { if (ret < 0) {
tor_asprintf(&err_msg, "Couldn't process address <%s> from hidden service " tor_asprintf(&err_msg, "Couldn't process address <%s> from hidden "
"configuration", addrport_element); "service configuration", addrport_element);
goto err; goto err;
} }
if (is_unix) { if (is_unix) {

View File

@ -2910,7 +2910,6 @@ routerstatus_parse_entry_from_string(memarea_t *area,
rs->is_flagged_running = 1; /* Starting with consensus method 4. */ rs->is_flagged_running = 1; /* Starting with consensus method 4. */
if (consensus_method >= MIN_METHOD_FOR_EXCLUDING_INVALID_NODES) if (consensus_method >= MIN_METHOD_FOR_EXCLUDING_INVALID_NODES)
rs->is_valid = 1; rs->is_valid = 1;
} }
int found_protocol_list = 0; int found_protocol_list = 0;
if ((tok = find_opt_by_keyword(tokens, K_PROTO))) { if ((tok = find_opt_by_keyword(tokens, K_PROTO))) {

View File

@ -3848,7 +3848,6 @@ test_config_port_cfg_line_extract_addrport(void *arg)
tor_free(a); tor_free(a);
} }
static config_line_t * static config_line_t *
mock_config_line(const char *key, const char *val) mock_config_line(const char *key, const char *val)
{ {

View File

@ -200,7 +200,6 @@ test_rend_service_parse_port_config(void *arg)
"in hidden service port configuration."); "in hidden service port configuration.");
tor_free(err_msg); tor_free(err_msg);
done: done:
rend_service_port_config_free(cfg); rend_service_port_config_free(cfg);
tor_free(err_msg); tor_free(err_msg);

View File

@ -1671,7 +1671,6 @@ test_util_config_line_crlf(void *arg)
tor_free(k); tor_free(v); tor_free(k); tor_free(v);
} }
#ifndef _WIN32 #ifndef _WIN32
static void static void
test_util_expand_filename(void *arg) test_util_expand_filename(void *arg)