[tor-commits] [tor/master] appease "make check-spaces"
nickm at torproject.org
nickm at torproject.org
Wed Jan 7 15:09:15 UTC 2015
commit 79aaad952f4f43a7057c4162ae378d5bad28a77e
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Jan 7 10:09:09 2015 -0500
appease "make check-spaces"
---
src/or/circuitbuild.c | 2 +-
src/test/test_config.c | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 0ad026b..9620a23 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -2065,7 +2065,7 @@ choose_good_entry_server(uint8_t purpose, cpath_build_state_t *state)
/*XXXX025 use the using_as_guard flag to accomplish this.*/
if (options->UseEntryGuards
&& (!options->TestingTorNetwork ||
- smartlist_len(nodelist_get_list()) > smartlist_len(get_entry_guards())
+ smartlist_len(nodelist_get_list()) > smartlist_len(get_entry_guards())
)) {
SMARTLIST_FOREACH(get_entry_guards(), const entry_guard_t *, entry,
{
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 0b411e3..fb8e402 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -1218,7 +1218,6 @@ test_config_resolve_my_address(void *arg)
UNMOCK(tor_gethostname);
tor_free(hostname_out);
-
/*
* CASE 7:
* We want resolve_my_address() to try and get network interface address via
More information about the tor-commits
mailing list