mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Make check-spaces happy.
This commit is contained in:
parent
4d32518288
commit
b2c7379aec
3 changed files with 2 additions and 5 deletions
|
@ -464,7 +464,6 @@ connection_ext_or_handle_cmd_transport(or_connection_t *conn,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Process Extended ORPort messages from <b>or_conn</b>. */
|
/** Process Extended ORPort messages from <b>or_conn</b>. */
|
||||||
int
|
int
|
||||||
connection_ext_or_process_inbuf(or_connection_t *or_conn)
|
connection_ext_or_process_inbuf(or_connection_t *or_conn)
|
||||||
|
|
|
@ -865,7 +865,8 @@ geoip_get_transport_history(void)
|
||||||
|
|
||||||
smartlist_add_asprintf(string_chunks, "%s=%u%s",
|
smartlist_add_asprintf(string_chunks, "%s=%u%s",
|
||||||
transport_name,
|
transport_name,
|
||||||
round_to_next_multiple_of(transport_count, granularity),
|
round_to_next_multiple_of(transport_count,
|
||||||
|
granularity),
|
||||||
i != smartlist_len(transports_used) ? "," : "");
|
i != smartlist_len(transports_used) ? "," : "");
|
||||||
} SMARTLIST_FOREACH_END(transport_name);
|
} SMARTLIST_FOREACH_END(transport_name);
|
||||||
|
|
||||||
|
@ -1348,7 +1349,6 @@ validate_bridge_stats(const char *stats_str, time_t now)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1885,7 +1885,6 @@ test_geoip(void)
|
||||||
test_streq(entry_stats_2, s);
|
test_streq(entry_stats_2, s);
|
||||||
tor_free(s);
|
tor_free(s);
|
||||||
|
|
||||||
|
|
||||||
/* Stop collecting entry statistics. */
|
/* Stop collecting entry statistics. */
|
||||||
geoip_entry_stats_term();
|
geoip_entry_stats_term();
|
||||||
get_options_mutable()->EntryStatistics = 0;
|
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);
|
geoip_note_client_seen(GEOIP_CLIENT_CONNECT, &addr, "yout", now-7200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Test the transport history string. */
|
/* Test the transport history string. */
|
||||||
s = geoip_get_transport_history();
|
s = geoip_get_transport_history();
|
||||||
tor_assert(s);
|
tor_assert(s);
|
||||||
|
|
Loading…
Add table
Reference in a new issue