diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-13 22:11:21 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-13 22:11:21 +0200 |
commit | 707a44a7b0e12f9aef541dd69b356e2f123bcda8 (patch) | |
tree | 1f10f1123304d28fd1acd58f9575b19a31f3efdf /src/or/rephist.c | |
parent | d1437245c77b930382f9b36355a3fa67d48ecb38 (diff) | |
download | tor-707a44a7b0e12f9aef541dd69b356e2f123bcda8.tar.gz tor-707a44a7b0e12f9aef541dd69b356e2f123bcda8.zip |
Replace two %d with %u's.
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 73dd1315ed..f987664449 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1434,7 +1434,7 @@ write_exit_stats(time_t when) < EXIT_STATS_THRESHOLD)) { uint32_t num = round_to_next_multiple_of(exit_streams[i], EXIT_STATS_ROUND_UP_STREAMS); - if (fprintf(out, "%s%d=%d", + if (fprintf(out, "%s%d=%u", comma++ ? "," : "", i, num)<0) goto done; } else @@ -1443,7 +1443,7 @@ write_exit_stats(time_t when) } other_streams = round_to_next_multiple_of(other_streams, EXIT_STATS_ROUND_UP_STREAMS); - if (fprintf(out, "%sother=%d\n", + if (fprintf(out, "%sother=%u\n", comma ? "," : "", other_streams)<0) goto done; /* Reset counters */ |