return 0;
}
-
/** Process Extended ORPort messages from <b>or_conn</b>. */
int
connection_ext_or_process_inbuf(or_connection_t *or_conn)
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);
return 0;
}
-
return 1;
}
test_streq(entry_stats_2, s);
tor_free(s);
-
/* Stop collecting entry statistics. */
geoip_entry_stats_term();
get_options_mutable()->EntryStatistics = 0;
geoip_note_client_seen(GEOIP_CLIENT_CONNECT, &addr, "yout", now-7200);
}
-
/* Test the transport history string. */
s = geoip_get_transport_history();
tor_assert(s);