|
@@ -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);
|