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
This commit is contained in:
Daniel Stenberg 2025-10-18 13:09:50 +02:00
parent 023e453032
commit ea1eaa6f7c
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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