diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-03 12:52:43 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-03 12:52:43 -0400 |
commit | df98582851a92d514c04061a5e0ec762c17a0cfb (patch) | |
tree | b52518169d65be6773a5abb606f3f56b5b8c9d25 /src/or/geoip.c | |
parent | fe8f7748202816a9b90e04db542e449145283a66 (diff) | |
parent | 02a4442524d84ea7edf6e3f136017faa73452d92 (diff) | |
download | tor-df98582851a92d514c04061a5e0ec762c17a0cfb.tar.gz tor-df98582851a92d514c04061a5e0ec762c17a0cfb.zip |
Merge remote-tracking branch 'github/ticket26626'
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r-- | src/or/geoip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index fac35d3983..3e6f20ea3f 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -1040,12 +1040,12 @@ geoip_get_transport_history(void) void *transport_count_ptr = strmap_get(transport_counts, transport_name); uintptr_t transport_count = (uintptr_t) transport_count_ptr; - log_debug(LD_GENERAL, "We got "U64_FORMAT" clients with transport '%s'.", - U64_PRINTF_ARG((uint64_t)transport_count), transport_name); + log_debug(LD_GENERAL, "We got %"PRIu64" clients with transport '%s'.", + ((uint64_t)transport_count), transport_name); - smartlist_add_asprintf(string_chunks, "%s="U64_FORMAT, + smartlist_add_asprintf(string_chunks, "%s=%"PRIu64, transport_name, - U64_PRINTF_ARG(round_uint64_to_next_multiple_of( + (round_uint64_to_next_multiple_of( (uint64_t)transport_count, granularity))); } SMARTLIST_FOREACH_END(transport_name); |