diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-02-28 15:23:24 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-08-15 12:03:34 -0400 |
commit | b2c7379aec503f6af3b7cc73660df80fd5edacf7 (patch) | |
tree | 6e3581bc6ceb01ac930e618b14e4badd83090b74 | |
parent | 4d325182886072107ec1e5089701d9152be2604c (diff) | |
download | tor-b2c7379aec503f6af3b7cc73660df80fd5edacf7.tar.gz tor-b2c7379aec503f6af3b7cc73660df80fd5edacf7.zip |
Make check-spaces happy.
-rw-r--r-- | src/or/ext_orport.c | 1 | ||||
-rw-r--r-- | src/or/geoip.c | 4 | ||||
-rw-r--r-- | 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 ff752f4865..f83002c182 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 dbb7ddd27e..7244c56172 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 2ce9f66e12..cf4febf216 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); |