Sfoglia il codice sorgente

appease "make check-spaces"

Nick Mathewson 10 anni fa
parent
commit
79aaad952f
2 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 1
      src/or/circuitbuild.c
  2. 0 1
      src/test/test_config.c

+ 1 - 1
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,
       {

+ 0 - 1
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