mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:03:32 +03:00
curl: remove first argument from helpf()
It was always the same and it is a global already! Closes #18221
This commit is contained in:
parent
16eac53dc9
commit
02b22ee4ea
5 changed files with 15 additions and 15 deletions
|
|
@ -271,13 +271,13 @@ clean:
|
|||
{
|
||||
switch(result) {
|
||||
case CURLE_URL_MALFORMAT:
|
||||
helpf(tool_stderr, "malformed target URL");
|
||||
helpf("malformed target URL");
|
||||
break;
|
||||
case CURLE_FILE_COULDNT_READ_FILE:
|
||||
helpf(tool_stderr, "IPFS automatic gateway detection failed");
|
||||
helpf("IPFS automatic gateway detection failed");
|
||||
break;
|
||||
case CURLE_BAD_FUNCTION_ARGUMENT:
|
||||
helpf(tool_stderr, "--ipfs-gateway was given a malformed URL");
|
||||
helpf("--ipfs-gateway was given a malformed URL");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue