[tor-commits] [tor/master] Make check-spaces happy.
nickm at torproject.org
nickm at torproject.org
Thu Aug 15 16:16:46 UTC 2013
commit b2c7379aec503f6af3b7cc73660df80fd5edacf7
Author: George Kadianakis <desnacked at riseup.net>
Date: Thu Feb 28 15:23:24 2013 +0200
Make check-spaces happy.
---
src/or/ext_orport.c | 1 -
src/or/geoip.c | 4 ++--
src/test/test.c | 2 --
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/or/ext_orport.c b/src/or/ext_orport.c
index ff752f4..f83002c 100644
--- a/src/or/ext_orport.c
+++ b/src/or/ext_orport.c
@@ -464,7 +464,6 @@ connection_ext_or_handle_cmd_transport(or_connection_t *conn,
return 0;
}
-
/** Process Extended ORPort messages from <b>or_conn</b>. */
int
connection_ext_or_process_inbuf(or_connection_t *or_conn)
diff --git a/src/or/geoip.c b/src/or/geoip.c
index dbb7ddd..7244c56 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -865,7 +865,8 @@ geoip_get_transport_history(void)
smartlist_add_asprintf(string_chunks, "%s=%u%s",
transport_name,
- round_to_next_multiple_of(transport_count, granularity),
+ round_to_next_multiple_of(transport_count,
+ granularity),
i != smartlist_len(transports_used) ? "," : "");
} SMARTLIST_FOREACH_END(transport_name);
@@ -1348,7 +1349,6 @@ validate_bridge_stats(const char *stats_str, time_t now)
return 0;
}
-
return 1;
}
diff --git a/src/test/test.c b/src/test/test.c
index 2ce9f66..cf4febf 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -1885,7 +1885,6 @@ test_geoip(void)
test_streq(entry_stats_2, s);
tor_free(s);
-
/* Stop collecting entry statistics. */
geoip_entry_stats_term();
get_options_mutable()->EntryStatistics = 0;
@@ -1945,7 +1944,6 @@ test_geoip_with_pt(void)
geoip_note_client_seen(GEOIP_CLIENT_CONNECT, &addr, "yout", now-7200);
}
-
/* Test the transport history string. */
s = geoip_get_transport_history();
tor_assert(s);
More information about the tor-commits
mailing list