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

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



commit 94c27d4e8fede72b128e0bbdd8b60d77ed23ebe6
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
Date:   Sun Jul 17 23:22:29 2016 +0000

    Keep make check-spaces happy
---
 src/or/policies.c       | 10 +++++-----
 src/test/test_address.c |  3 ++-
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/or/policies.c b/src/or/policies.c
index f625242..0b8f335 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -2866,11 +2866,11 @@ getinfo_helper_policies(control_connection_t *conn,
     }
 
     policies_parse_exit_policy_reject_private(
-                                      &private_policy_list,
-                                      options->IPv6Exit,
-                                      configured_addresses,
-                                      options->ExitPolicyRejectLocalInterfaces,
-                                      options->ExitPolicyRejectLocalInterfaces);
+      &private_policy_list,
+      options->IPv6Exit,
+      configured_addresses,
+      options->ExitPolicyRejectLocalInterfaces,
+      options->ExitPolicyRejectLocalInterfaces);
     *answer = policy_dump_to_string(private_policy_list, 1, 1);
 
     addr_policy_list_free(private_policy_list);
diff --git a/src/test/test_address.c b/src/test/test_address.c
index d621ee5..82d6bc7 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -823,7 +823,8 @@ test_address_get_if_addrs6_list_no_internal(void *arg)
 
   (void)arg;
 
-  int prev_level = setup_capture_of_logs(LOG_ERR); /* We might drop a log_err */
+  /* We might drop a log_err */
+  int prev_level = setup_capture_of_logs(LOG_ERR);
   results = get_interface_address6_list(LOG_ERR, AF_INET6, 0);
   tt_int_op(smartlist_len(mock_saved_logs()), OP_LE, 1);
   teardown_capture_of_logs(prev_level);

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