summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-06-09 11:50:25 +0000
committerAndrea Shepard <andrea@torproject.org>2016-06-09 11:50:25 +0000
commit9eeaeddbb1aa04248841890e244c4714f165522d (patch)
treebbc12338bf35d7b4890fdaf9076144f05f416adb /src/or
parent1e330e1947b750be12b217c944534f9284509751 (diff)
downloadtor-9eeaeddbb1aa04248841890e244c4714f165522d.tar.gz
tor-9eeaeddbb1aa04248841890e244c4714f165522d.zip
Reduce make check-spaces noise
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_edge.c3
-rw-r--r--src/or/rendcommon.c1
-rw-r--r--src/or/routerlist.h3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index c9aced7eb3..799baa2acc 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1703,7 +1703,8 @@ connection_ap_handshake_rewrite_and_attach(entry_connection_t *conn,
/* Fill in the rend_data field so we can start doing a connection to
* a hidden service. */
rend_data_t *rend_data = ENTRY_TO_EDGE_CONN(conn)->rend_data =
- rend_data_client_create(socks->address, NULL, (char *) cookie, auth_type);
+ rend_data_client_create(socks->address, NULL, (char *) cookie,
+ auth_type);
if (rend_data == NULL) {
return -1;
}
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 56c49fee47..01b0766cf0 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -1067,4 +1067,3 @@ rend_auth_decode_cookie(const char *cookie_in, uint8_t *cookie_out,
return res;
}
-
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index d5a9b77a82..be242d6e87 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -221,7 +221,8 @@ int hex_digest_nickname_matches(const char *hexdigest,
STATIC int choose_array_element_by_weight(const uint64_t *entries,
int n_entries);
STATIC void scale_array_elements_to_u64(uint64_t *entries_out,
- const double *entries_in, int n_entries,
+ const double *entries_in,
+ int n_entries,
uint64_t *total_out);
STATIC const routerstatus_t *router_pick_directory_server_impl(
dirinfo_type_t auth, int flags,