]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tool_paramhlp: remove outdated comment in str2tls_max()
authorDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2025 11:09:50 +0000 (13:09 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Oct 2025 21:17:16 +0000 (23:17 +0200)
The function does not take positive number as input. It takes TLS
version strings.

Pointed out by ZeroPath
Closes #19115

src/tool_paramhlp.c

index fda05398783e368c88ac74d31de76b0a66168ce0..9f54704ea2ed25b82aceb42f7bc2cadbaacdd395 100644 (file)
@@ -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