]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Keep make check-spaces happy
authorAndrea Shepard <andrea@torproject.org>
Sun, 12 Jun 2016 21:47:14 +0000 (21:47 +0000)
committerAndrea Shepard <andrea@torproject.org>
Sun, 12 Jun 2016 21:47:14 +0000 (21:47 +0000)
src/common/address.h
src/or/onion.c

index 3f0bb521cd0b5118a383eb252315c0d29cc9dab8..51db42c3157934fafd507ad8a5bde5090f8513c8 100644 (file)
@@ -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)
 {
index 28b9787048b76472bc9defb02b25ea8e53c8395d..7c7f97fc429bc24dd1285e12389d88f6a72812c3 100644 (file)
@@ -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 */
 };