diff --git a/src/connection_pool.c b/src/connection_pool.c index 39dfc25..3c0195d 100644 --- a/src/connection_pool.c +++ b/src/connection_pool.c @@ -282,6 +282,7 @@ ConnectionInfo *conn_pool_get_connection(ConnectionPool *cp, "total_count: %d, free_count: %d", __LINE__, conn->ip_addr, conn->port, ci->sock, cm->total_count, cm->free_count); + *err_no = 0; return ci; } }