tests/client: use curl_mfprintf()

Replacing `fprintf()`. `curl_mfprintf()` is a public libcurl API.

Following the same change made for libtests.

Follow-up to 255aac56f9 #17253

Closes #17651
This commit is contained in:
Viktor Szakats 2025-06-17 19:57:28 +02:00
parent a4a13c96ca
commit af309fb17b
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
11 changed files with 186 additions and 181 deletions

View file

@ -29,7 +29,7 @@ int main(int argc, char **argv)
size_t tmp;
if(argc < 2) {
fprintf(stderr, "Pass clientname as first argument\n");
curl_mfprintf(stderr, "Pass clientname as first argument\n");
return 1;
}
@ -43,7 +43,7 @@ int main(int argc, char **argv)
}
if(!entry_func) {
fprintf(stderr, "Test '%s' not found.\n", entry_name);
curl_mfprintf(stderr, "Test '%s' not found.\n", entry_name);
return 99;
}