diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-05 10:30:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-05 10:30:50 -0400 |
commit | b4bd4964eba5b0dae811a5c28c664b8f78a0672c (patch) | |
tree | 724c575c34c06ed78f4642b2fc2ecb7bde7f4d31 /src/or/geoip.c | |
parent | 981e896dd2eaf69798bb503c271306ee779dd6d2 (diff) | |
parent | 0bec9f320b81a85ba3596e9780b1cf7c770dfb31 (diff) | |
download | tor-b4bd4964eba5b0dae811a5c28c664b8f78a0672c.tar.gz tor-b4bd4964eba5b0dae811a5c28c664b8f78a0672c.zip |
Merge remote-tracking branch 'public/format_doubles'
Conflicts:
src/or/geoip.c
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r-- | src/or/geoip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index 68a1942898..5d6488817a 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -1025,9 +1025,9 @@ geoip_format_dirreq_stats(time_t now) #undef RESPONSE_GRANULARITY if (!geoip_get_mean_shares(now, &v2_share, &v3_share)) { - tor_asprintf(&v2_share_string, "dirreq-v2-share %0.2lf%%\n", + tor_asprintf(&v2_share_string, "dirreq-v2-share %0.2f%%\n", v2_share*100); - tor_asprintf(&v3_share_string, "dirreq-v3-share %0.2lf%%\n", + tor_asprintf(&v3_share_string, "dirreq-v3-share %0.2f%%\n", v3_share*100); } |