commit b65a22107e0da3b698383720437feb0b7eeaa60e
parent 1ab764b2f84e4377abe32352565733a4f34f6ffc
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 4 Jun 2017 13:12:56 +0300
internal_add_connection(): cosmetics
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -2364,7 +2364,7 @@ internal_add_connection (struct MHD_Daemon *daemon,
/* have a pool, try to find a pool with capacity; we use the
socket as the initial offset into the pool for load
balancing */
- for (i=0;i<daemon->worker_pool_size;i++)
+ for (i = 0; i < daemon->worker_pool_size; ++i)
{
worker = &daemon->worker_pool[(i + client_socket) % daemon->worker_pool_size];
if (worker->connections < worker->connection_limit)