Skip to content
Snippets Groups Projects
Commit 8a3cf431 authored by Dmitrii's avatar Dmitrii
Browse files

[+] add break in loop

parent ad6fe902
No related branches found
No related tags found
2 merge requests!455Feature 5343,!452Feature 5343
......@@ -77,6 +77,7 @@ static void s_pgsql_free_connection(PGconn *a_conn)
for (int i = 0; i < DAP_PGSQL_POOL_COUNT; i++) {
if (s_conn_pool[i].conn == a_conn) {
s_conn_pool[i].busy = 0;
break;
}
}
pthread_rwlock_unlock(&s_db_rwlock);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment