ret = port_cfg_line_extract_addrport(addrport_element, &addrport,
&is_unix, &rest);
if (ret < 0) {
- tor_asprintf(&err_msg, "Couldn't process address <%s> from hidden service "
- "configuration", addrport_element);
+ tor_asprintf(&err_msg, "Couldn't process address <%s> from hidden "
+ "service configuration", addrport_element);
goto err;
}
if (is_unix) {
rs->is_flagged_running = 1; /* Starting with consensus method 4. */
if (consensus_method >= MIN_METHOD_FOR_EXCLUDING_INVALID_NODES)
rs->is_valid = 1;
-
}
int found_protocol_list = 0;
if ((tok = find_opt_by_keyword(tokens, K_PROTO))) {
tor_free(a);
}
-
static config_line_t *
mock_config_line(const char *key, const char *val)
{
"in hidden service port configuration.");
tor_free(err_msg);
-
done:
rend_service_port_config_free(cfg);
tor_free(err_msg);
tor_free(k); tor_free(v);
}
-
#ifndef _WIN32
static void
test_util_expand_filename(void *arg)