From 0cd63ff5e97b6493c0891f45db67d18d987319a2 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Fri, 7 Jul 2023 21:28:07 +0200 Subject: [PATCH] Fix typos --- src/lib/proxy.c | 2 +- src/worker/proxy_handler.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/proxy.c b/src/lib/proxy.c index b4a4b7b..7d08ab7 100644 --- a/src/lib/proxy.c +++ b/src/lib/proxy.c @@ -369,7 +369,7 @@ int proxy_init(proxy_ctx_t **proxy_ptr, http_req *req, http_res *res, http_statu *proxy_ptr = proxy_get_by_conf(conf); proxy_ctx_t *proxy = *proxy_ptr; proxy->client = NULL; - debug("Selected proxy connection slot %i/%i", (proxy - proxies) % MAX_PROXY_CNX_PER_HOST, MAX_PROXY_CNX_PER_HOST); + debug("Selected proxy connection slot %i/%i", (proxy - proxies) % MAX_PROXY_CNX_PER_HOST, MAX_PROXY_CNX_PER_HOST); const char *connection = http_get_header_field(&req->hdr, "Connection"); if (strcontains(connection, "upgrade") || strcontains(connection, "Upgrade")) { diff --git a/src/worker/proxy_handler.c b/src/worker/proxy_handler.c index b136e92..53e0769 100644 --- a/src/worker/proxy_handler.c +++ b/src/worker/proxy_handler.c @@ -1,7 +1,7 @@ /** * sesimos - secure, simple, modern web server * @brief Proxy handler - * @file src/worker/proxy_handler_1.c + * @file src/worker/proxy_handler.c * @author Lorenz Stechauner * @date 2022-12-29 */