tool_paramhlp: make check_protocol return ParameterError

"enumerated type mixed with another type"

Closes #9179
This commit is contained in:
Daniel Stenberg 2022-07-20 23:41:41 +02:00
parent 6b6fe4fec5
commit 3f533a7977
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ ParameterError proto2num(struct OperationConfig *config,
unsigned int val, char **obuf,
const char *str);
int check_protocol(const char *str);
ParameterError check_protocol(const char *str);
ParameterError str2offset(curl_off_t *val, const char *str);