[tor-commits] [tor/master] Placate "make check-spaces"

nickm at torproject.org nickm at torproject.org
Thu Sep 8 19:44:00 UTC 2016


commit 55713f0d790378e2788c9bec1d26134838af739a
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Sep 8 15:43:56 2016 -0400

    Placate "make check-spaces"
---
 src/test/log_test_helpers.c | 1 +
 src/test/test_address.c     | 2 --
 src/test/test_config.c      | 3 ++-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/log_test_helpers.c b/src/test/log_test_helpers.c
index 3dc926d..c788a33 100644
--- a/src/test/log_test_helpers.c
+++ b/src/test/log_test_helpers.c
@@ -238,3 +238,4 @@ mock_dump_saved_logs(void)
            escaped(m->generated_msg));
   } SMARTLIST_FOREACH_END(m);
 }
+
diff --git a/src/test/test_address.c b/src/test/test_address.c
index 0be4c54..9b4c52f 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -801,7 +801,6 @@ test_address_get_if_addrs6_list_internal(void *arg)
   if (smartlist_len(mock_saved_logs()) == 1) {
     expect_log_msg_containing_either("connect() failed",
                                      "unable to create socket");
-
   }
   teardown_capture_of_logs();
 
@@ -840,7 +839,6 @@ test_address_get_if_addrs6_list_no_internal(void *arg)
   if (smartlist_len(mock_saved_logs()) == 1) {
     expect_log_msg_containing_either("connect() failed",
                                      "unable to create socket");
-
   }
   teardown_capture_of_logs();
 
diff --git a/src/test/test_config.c b/src/test/test_config.c
index c1222e5..ee1686c 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -4238,7 +4238,8 @@ test_config_parse_port_config__ports__ports_given(void *data)
   config_free_lines(config_port_valid); config_port_valid = NULL;
   SMARTLIST_FOREACH(slout,port_cfg_t *,pf,port_cfg_free(pf));
   smartlist_clear(slout);
-  config_port_valid = mock_config_line("SOCKSPort", "42 IPv6Traffic PreferIPv6");
+  config_port_valid = mock_config_line("SOCKSPort",
+                                       "42 IPv6Traffic PreferIPv6");
   ret = parse_port_config(slout, config_port_valid, NULL, "SOCKS",
                           CONN_TYPE_AP_LISTENER, "127.0.0.42", 0,
                           CL_PORT_TAKES_HOSTNAMES);



More information about the tor-commits mailing list