From 6986e3f41f33265d6d61b8627a826a67f23cdc98 Mon Sep 17 00:00:00 2001 From: Valentine Krasnobaeva Date: Tue, 18 Mar 2025 16:34:12 +0100 Subject: [PATCH] MINOR: limits: fix check_if_maxsock_permitted description Fix typo in check_if_maxsock_permitted() description. --- src/limits.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/limits.c b/src/limits.c index e9ce8b8d7..8e0b0ff6f 100644 --- a/src/limits.c +++ b/src/limits.c @@ -227,7 +227,7 @@ int compute_ideal_maxsock(int maxconn) /* Tests if it is possible to set the current process's RLIMIT_NOFILE to * , then sets it back to the previous value. Returns non-zero if the - * value is accepted, non-zero otherwise. This is used to determine if an + * value is accepted, zero otherwise. This is used to determine if an * automatic limit may be applied or not. When it is not, the caller knows that * the highest we can do is the rlim_max at boot. In case of error, we return * that the setting is possible, so that we defer the error processing to the