mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
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:
parent
a4a13c96ca
commit
af309fb17b
11 changed files with 186 additions and 181 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue