mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:51:42 +03:00
tidy-up: replace banned printf() with puts()
In `curlinfo` and CMake integration test app. Closes #19972
This commit is contained in:
parent
43a95aa1bd
commit
2399ec74c3
2 changed files with 5 additions and 4 deletions
|
|
@ -253,8 +253,7 @@ int main(int argc, char **argv)
|
|||
(void)argv;
|
||||
|
||||
for(i = 0; i < CURL_ARRAYSIZE(disabled); i++)
|
||||
/* !checksrc! disable BANNEDFUNC 1 */
|
||||
printf("%s\n", disabled[i]);
|
||||
puts(disabled[i]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,9 @@
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc;
|
||||
/* !checksrc! disable BANNEDFUNC 1 */
|
||||
printf("libcurl test: |%s|%s|\n", argv[0], curl_version());
|
||||
puts("libcurl test:");
|
||||
puts(argv[0]);
|
||||
puts(curl_version());
|
||||
puts("---");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue