aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-01-10 15:13:07 -0500
committerNick Mathewson <nickm@torproject.org>2011-01-10 15:13:07 -0500
commit80253ba4d77a95ab14ee80dbc4eea88bb264124c (patch)
tree44df05b27001cb187fc869f5b0faf1766aafdb07 /src
parent105b94b75b51376128037cab05b930c4e4c15497 (diff)
downloadtor-80253ba4d77a95ab14ee80dbc4eea88bb264124c.tar
tor-80253ba4d77a95ab14ee80dbc4eea88bb264124c.tar.gz
fix some spelling in rephist comments
Diffstat (limited to 'src')
-rw-r--r--src/or/rephist.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index a3a2bab95..265fff8a3 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1297,8 +1297,8 @@ static bw_array_t *dir_read_array = NULL;
directory protocol. */
static bw_array_t *dir_write_array = NULL;
-/** Set up [dir-]read_array and [dir-]write_array, freeing them if they alrady
- * exist. */
+/** Set up [dir-]read_array and [dir-]write_array, freeing them if they
+ * already exist. */
static void
bw_arrays_init(void)
{
@@ -1495,8 +1495,8 @@ rep_hist_get_bandwidth_lines(void)
return buf;
}
-/** Write a single bw_warray_t from its Values, Ends, and Interval entries
- * from a state. */
+/** Write a single bw_array_t into the Values, Ends, Interval, and Maximum
+ * entries of an or_state_t. */
static void
rep_hist_update_bwhist_state_section(or_state_t *state,
const bw_array_t *b,
@@ -1578,8 +1578,8 @@ rep_hist_update_state(or_state_t *state)
#undef UPDATE
}
-/** Load a single bw_warray_t from its Values, Ends, and Interval entries from
- * a state. */
+/** Load a single bw_array_t from its Values, Ends, Maxima, and Interval
+ * entries in an or_state_t. */
static int
rep_hist_load_bwhist_state_section(bw_array_t *b,
const smartlist_t *s_values,