summaryrefslogtreecommitdiff
path: root/ecp
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2024-05-09 22:36:07 +0200
committerUros Majstorovic <majstor@majstor.org>2024-05-09 22:36:07 +0200
commitbc3f5dc45e19e88a984e215ec5393e86cea84e1c (patch)
treebdfa0359beb686625e4999757deb906d71db5ae9 /ecp
parentb920bef61388a73df4365035119434e10047260e (diff)
fixed gc table count
Diffstat (limited to 'ecp')
-rw-r--r--ecp/src/ecp/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp/src/ecp/core.c b/ecp/src/ecp/core.c
index 8ae0323..2741df2 100644
--- a/ecp/src/ecp/core.c
+++ b/ecp/src/ecp/core.c
@@ -729,7 +729,7 @@ unsigned int ecp_sock_gct_count(ECPSocket *sock) {
}
#ifdef ECP_WITH_PTHREAD
- pthread_mutex_lock(&sock->conn_table.mutex);
+ pthread_mutex_unlock(&sock->conn_table.mutex);
#endif
#endif /* ECP_WITH_HTABLE */