From: Daniel Stenberg Date: Sat, 18 Oct 2025 11:09:50 +0000 (+0200) Subject: tool_paramhlp: remove outdated comment in str2tls_max() X-Git-Tag: rc-8_17_0-3~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea1eaa6f7c2c88f8c74ca9b454a8b7e7be1d7171;p=thirdparty%2Fcurl.git tool_paramhlp: remove outdated comment in str2tls_max() The function does not take positive number as input. It takes TLS version strings. Pointed out by ZeroPath Closes #19115 --- diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c index fda0539878..9f54704ea2 100644 --- a/src/tool_paramhlp.c +++ b/src/tool_paramhlp.c @@ -715,7 +715,7 @@ CURLcode get_args(struct OperationConfig *config, const size_t i) /* * Parse the string and modify ssl_version in the val argument. Return PARAM_OK - * on success, otherwise a parameter error enum. ONLY ACCEPTS POSITIVE NUMBERS! + * on success, otherwise a parameter error enum. * * Since this function gets called with the 'nextarg' pointer from within the * getparameter a lot, we must check it for NULL before accessing the str