mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
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:
parent
023e453032
commit
ea1eaa6f7c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user