mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Possible fix to state-load bug reported by weasel.
svn:r5692
This commit is contained in:
parent
0da2069643
commit
4868d77ab8
@ -469,7 +469,7 @@ advance_obs(bw_array_t *b)
|
||||
/** Add 'n' bytes to the number of bytes in b for second 'when'.
|
||||
*/
|
||||
static INLINE void
|
||||
add_obs(bw_array_t *b, time_t when, int n)
|
||||
add_obs(bw_array_t *b, time_t when, uint64_t n)
|
||||
{
|
||||
/* Don't record data in the past. */
|
||||
if (when<b->cur_obs_time)
|
||||
|
Loading…
Reference in New Issue
Block a user