From: Valentine Krasnobaeva Date: Tue, 18 Mar 2025 15:34:12 +0000 (+0100) Subject: MINOR: limits: fix check_if_maxsock_permitted description X-Git-Tag: v3.2-dev8~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6986e3f41f33265d6d61b8627a826a67f23cdc98;p=thirdparty%2Fhaproxy.git MINOR: limits: fix check_if_maxsock_permitted description Fix typo in check_if_maxsock_permitted() description. --- 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