mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
fix some spelling in rephist comments
This commit is contained in:
parent
105b94b75b
commit
80253ba4d7
@ -1297,8 +1297,8 @@ static bw_array_t *dir_read_array = NULL;
|
|||||||
directory protocol. */
|
directory protocol. */
|
||||||
static bw_array_t *dir_write_array = NULL;
|
static bw_array_t *dir_write_array = NULL;
|
||||||
|
|
||||||
/** Set up [dir-]read_array and [dir-]write_array, freeing them if they alrady
|
/** Set up [dir-]read_array and [dir-]write_array, freeing them if they
|
||||||
* exist. */
|
* already exist. */
|
||||||
static void
|
static void
|
||||||
bw_arrays_init(void)
|
bw_arrays_init(void)
|
||||||
{
|
{
|
||||||
@ -1495,8 +1495,8 @@ rep_hist_get_bandwidth_lines(void)
|
|||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Write a single bw_warray_t from its Values, Ends, and Interval entries
|
/** Write a single bw_array_t into the Values, Ends, Interval, and Maximum
|
||||||
* from a state. */
|
* entries of an or_state_t. */
|
||||||
static void
|
static void
|
||||||
rep_hist_update_bwhist_state_section(or_state_t *state,
|
rep_hist_update_bwhist_state_section(or_state_t *state,
|
||||||
const bw_array_t *b,
|
const bw_array_t *b,
|
||||||
@ -1578,8 +1578,8 @@ rep_hist_update_state(or_state_t *state)
|
|||||||
#undef UPDATE
|
#undef UPDATE
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Load a single bw_warray_t from its Values, Ends, and Interval entries from
|
/** Load a single bw_array_t from its Values, Ends, Maxima, and Interval
|
||||||
* a state. */
|
* entries in an or_state_t. */
|
||||||
static int
|
static int
|
||||||
rep_hist_load_bwhist_state_section(bw_array_t *b,
|
rep_hist_load_bwhist_state_section(bw_array_t *b,
|
||||||
const smartlist_t *s_values,
|
const smartlist_t *s_values,
|
||||||
|
Loading…
Reference in New Issue
Block a user