mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
sched: Compare channel pointer in the socket table
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user