aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitpadding.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2019-02-25 13:28:35 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2019-02-25 13:28:35 +0200
commit341cd6ea6631217a5487198a773b56a057afd5f9 (patch)
treea64aa88f191d7c7503c1ac1891f4f30f7900c007 /src/core/or/circuitpadding.h
parent3093d8afbeb9f1a1901936d27cb788c03917dae0 (diff)
downloadtor-341cd6ea6631217a5487198a773b56a057afd5f9.tar.gz
tor-341cd6ea6631217a5487198a773b56a057afd5f9.zip
histogram_edges is histogram_len long
Diffstat (limited to 'src/core/or/circuitpadding.h')
-rw-r--r--src/core/or/circuitpadding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/circuitpadding.h b/src/core/or/circuitpadding.h
index b9e903b9f0..d11358a159 100644
--- a/src/core/or/circuitpadding.h
+++ b/src/core/or/circuitpadding.h
@@ -290,7 +290,7 @@ typedef struct circpad_state_t {
* bin. The rightmost edge is always infinity and is not specified in this
* array.
*
- * This array must have histogram_len+1 elements. */
+ * This array must have histogram_len elements. */
circpad_delay_t histogram_edges[CIRCPAD_MAX_HISTOGRAM_LEN+1];
/** Total number of tokens in this histogram. This is a constant and is *not*
* decremented every time we spend a token. It's used for initializing and