diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-04-26 11:14:46 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-26 11:14:46 -0400 |
commit | 1cff525973c9e3934a4e1661b721b8a13d20ff72 (patch) | |
tree | cf9ae17b84d8632da0d679f85d6fd5084586d226 /src/or/rephist.c | |
parent | f083347adf40164aac3b77d118ec372c89178d5a (diff) | |
download | tor-1cff525973c9e3934a4e1661b721b8a13d20ff72.tar.gz tor-1cff525973c9e3934a4e1661b721b8a13d20ff72.zip |
Fix compilation in last patch
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 9146fce7f3..524cd1dab4 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -1570,6 +1570,7 @@ rep_hist_update_bwhist_state_section(or_state_t *state, { char *cp; int i,j; + uint64_t maxval; if (*s_values) { SMARTLIST_FOREACH(*s_values, char *, val, tor_free(val)); @@ -1603,7 +1604,6 @@ rep_hist_update_bwhist_state_section(or_state_t *state, /* Set i to first position in circular array */ i = (b->num_maxes_set <= b->next_max_idx) ? 0 : b->next_max_idx; for (j=0; j < b->num_maxes_set; ++j,++i) { - uint64_t maxval; if (i >= NUM_TOTALS) i = 0; tor_asprintf(&cp, U64_FORMAT, U64_PRINTF_ARG(b->totals[i] & ~0x3ff)); |