curl: remove first argument from helpf()

It was always the same and it is a global already!

Closes #18221
This commit is contained in:
Daniel Stenberg 2025-08-07 16:12:44 +02:00
parent 16eac53dc9
commit 02b22ee4ea
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 15 additions and 15 deletions

View file

@ -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;