aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Traudt <sirmatt@ksu.edu>2016-10-25 10:07:05 -0400
committerMatt Traudt <sirmatt@ksu.edu>2016-10-25 10:07:05 -0400
commitc09993fdf6beb80d8c5f34250092c931333f7ac0 (patch)
tree8b6a72a1b10fe8088a89841c178dc8de5d0b87f6 /src
parent01482e30ad8a453f3721ef17a4a9633806b90684 (diff)
downloadtor-c09993fdf6beb80d8c5f34250092c931333f7ac0.tar.gz
tor-c09993fdf6beb80d8c5f34250092c931333f7ac0.zip
Fix ewma_cmp_cmux never considering policies different
Diffstat (limited to 'src')
-rw-r--r--src/or/circuitmux_ewma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitmux_ewma.c b/src/or/circuitmux_ewma.c
index 5c2ebde73b..0219459cdb 100644
--- a/src/or/circuitmux_ewma.c
+++ b/src/or/circuitmux_ewma.c
@@ -500,7 +500,7 @@ ewma_cmp_cmux(circuitmux_t *cmux_1, circuitmux_policy_data_t *pol_data_1,
tor_assert(pol_data_2);
p1 = TO_EWMA_POL_DATA(pol_data_1);
- p2 = TO_EWMA_POL_DATA(pol_data_1);
+ p2 = TO_EWMA_POL_DATA(pol_data_2);
if (p1 != p2) {
/* Get the head cell_ewma_t from each queue */