[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Keep make check-spaces happy



commit 925f76b486444217035d1cc978cbdd398c17dfb1
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
Date:   Sun Jun 12 21:47:14 2016 +0000

    Keep make check-spaces happy
---
 src/common/address.h | 6 ++++--
 src/or/onion.c       | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/common/address.h b/src/common/address.h
index 3f0bb52..51db42c 100644
--- a/src/common/address.h
+++ b/src/common/address.h
@@ -74,7 +74,8 @@ typedef struct tor_addr_port_t
 #define TOR_ADDR_NULL {AF_UNSPEC, {0}}
 
 static inline const struct in6_addr *tor_addr_to_in6(const tor_addr_t *a);
-static inline const struct in6_addr *tor_addr_to_in6_assert(const tor_addr_t *a);
+static inline const struct in6_addr *tor_addr_to_in6_assert(
+    const tor_addr_t *a);
 static inline uint32_t tor_addr_to_ipv4n(const tor_addr_t *a);
 static inline uint32_t tor_addr_to_ipv4h(const tor_addr_t *a);
 static inline uint32_t tor_addr_to_mapped_ipv4h(const tor_addr_t *a);
@@ -98,7 +99,8 @@ tor_addr_to_in6(const tor_addr_t *a)
   return a->family == AF_INET6 ? &a->addr.in6_addr : NULL;
 }
 
-/** As tor_addr_to_in6, but assert that the address truly is an IPv6 address. */
+/** As tor_addr_to_in6, but assert that the address truly is an IPv6
+ * address. */
 static inline const struct in6_addr *
 tor_addr_to_in6_assert(const tor_addr_t *a)
 {
diff --git a/src/or/onion.c b/src/or/onion.c
index 28b9787..7c7f97f 100644
--- a/src/or/onion.c
+++ b/src/or/onion.c
@@ -39,8 +39,8 @@ typedef struct onion_queue_t {
 /** Array of queues of circuits waiting for CPU workers. An element is NULL
  * if that queue is empty.*/
 static TOR_TAILQ_HEAD(onion_queue_head_t, onion_queue_t)
-              ol_list[MAX_ONION_HANDSHAKE_TYPE+1] = {
-  TOR_TAILQ_HEAD_INITIALIZER(ol_list[0]), /* tap */
+              ol_list[MAX_ONION_HANDSHAKE_TYPE+1] =
+{ TOR_TAILQ_HEAD_INITIALIZER(ol_list[0]), /* tap */
   TOR_TAILQ_HEAD_INITIALIZER(ol_list[1]), /* fast */
   TOR_TAILQ_HEAD_INITIALIZER(ol_list[2]), /* ntor */
 };

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits