summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-07 10:09:09 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-07 10:09:09 -0500
commit79aaad952f4f43a7057c4162ae378d5bad28a77e (patch)
tree7d3aed6c45f99885f7ea9eac18d99194caf2be08
parentcb54cd6745eaf15716aa357fc253f43f26c051a6 (diff)
downloadtor-79aaad952f4f43a7057c4162ae378d5bad28a77e.tar.gz
tor-79aaad952f4f43a7057c4162ae378d5bad28a77e.zip
appease "make check-spaces"
-rw-r--r--src/or/circuitbuild.c2
-rw-r--r--src/test/test_config.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 0ad026b2d3..9620a23655 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 0b411e3354..fb8e4020dc 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