mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:47:28 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue