aboutsummaryrefslogtreecommitdiff
path: root/src/or/scheduler_kist.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-09-14 14:37:57 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-09-15 11:40:59 -0400
commitbd34a0d30f754f3dd75199d915febe918d058f30 (patch)
tree6e93fcecf9ce6c0d9e59835c79b8f4646825b08b /src/or/scheduler_kist.c
parente0984b8a51d2363d9ff30779d339d058887831ee (diff)
downloadtor-bd34a0d30f754f3dd75199d915febe918d058f30.tar.gz
tor-bd34a0d30f754f3dd75199d915febe918d058f30.zip
sched: Compare channel pointer in the socket table
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/scheduler_kist.c')
-rw-r--r--src/or/scheduler_kist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index aad29b6a62..f35d0fae57 100644
--- a/src/or/scheduler_kist.c
+++ b/src/or/scheduler_kist.c
@@ -51,7 +51,7 @@ socket_table_ent_hash(const socket_table_ent_t *ent)
static unsigned
socket_table_ent_eq(const socket_table_ent_t *a, const socket_table_ent_t *b)
{
- return a->chan->global_identifier == b->chan->global_identifier;
+ return a->chan == b->chan;
}
typedef HT_HEAD(socket_table_s, socket_table_ent_s) socket_table_t;