mirror of
https://github.com/curl/curl.git
synced 2026-05-06 19:47:27 +03:00
parent
2ca0530a4d
commit
ddda4fdf3d
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ static CURLcode protocol2num(char *str, curl_prot_t *val)
|
|||
if(!str)
|
||||
return CURLE_BAD_FUNCTION_ARGUMENT;
|
||||
else if(curl_strequal(str, "all")) {
|
||||
*val = ~0;
|
||||
*val = (curl_prot_t)~0;
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue