From bc3f5dc45e19e88a984e215ec5393e86cea84e1c Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 9 May 2024 22:36:07 +0200 Subject: fixed gc table count --- ecp/src/ecp/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3