summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-10-14 10:40:31 -0400
committerNick Mathewson <nickm@torproject.org>2016-10-14 10:40:31 -0400
commit55c468c5211d5b74acb677767f14d91cd0304771 (patch)
tree5f8c0611092ef81a4e00b146a4d21992d4d7619a
parent1a2aa4e3f8628e5d1343414e0034d2136ad26672 (diff)
downloadtor-55c468c5211d5b74acb677767f14d91cd0304771.tar.gz
tor-55c468c5211d5b74acb677767f14d91cd0304771.zip
Whitespace cleaning
-rw-r--r--src/or/rendservice.c4
-rw-r--r--src/or/routerparse.c1
-rw-r--r--src/test/test_config.c1
-rw-r--r--src/test/test_controller.c1
-rw-r--r--src/test/test_util.c1
5 files changed, 2 insertions, 6 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index a2d7a37378..3afe880554 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -382,8 +382,8 @@ rend_service_parse_port_config(const char *string, const char *sep,
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) {
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index db3d004f26..df9b76800d 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2910,7 +2910,6 @@ routerstatus_parse_entry_from_string(memarea_t *area,
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))) {
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 4efefa8050..384bff410f 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -3848,7 +3848,6 @@ test_config_port_cfg_line_extract_addrport(void *arg)
tor_free(a);
}
-
static config_line_t *
mock_config_line(const char *key, const char *val)
{
diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index 4ae35c8fe0..f19c846144 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -200,7 +200,6 @@ test_rend_service_parse_port_config(void *arg)
"in hidden service port configuration.");
tor_free(err_msg);
-
done:
rend_service_port_config_free(cfg);
tor_free(err_msg);
diff --git a/src/test/test_util.c b/src/test/test_util.c
index a548b2a100..7276c0cbfc 100644
--- a/src/test/test_util.c
+++ b/src/test/test_util.c
@@ -1671,7 +1671,6 @@ test_util_config_line_crlf(void *arg)
tor_free(k); tor_free(v);
}
-
#ifndef _WIN32
static void
test_util_expand_filename(void *arg)