commit bd34a0d30f754f3dd75199d915febe918d058f30
Author: David Goulet <[email protected]>
Date:   Thu Sep 14 14:37:57 2017 -0400

    sched: Compare channel pointer in the socket table
    
    Signed-off-by: David Goulet <[email protected]>
---
 src/or/scheduler_kist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c
index aad29b6a6..f35d0fae5 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;



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to