Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bb12427 - Change printf() usage to logg() in libfreshclam so --quiet …
…option works correctly. Patch courtesy of Reio Remma.
  • Loading branch information
micahsnyder committed Nov 5, 2019
1 parent 4d0d744 commit 095abcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Expand Up @@ -21,7 +21,7 @@ ClamAV 0.103.0 includes the following improvements and changes.

The ClamAV team thanks the following individuals for their code submissions:

-
- Reio Remma

## 0.102.0

Expand Down
6 changes: 3 additions & 3 deletions freshclam/freshclam.c
Expand Up @@ -230,7 +230,7 @@ fc_error_t download_complete_callback(const char *dbFilename, void *context)
logg("*download_complete_callback: fc_context->bTestDatabases : %u\n", fc_context->bBytecodeEnabled);
logg("*download_complete_callback: fc_context->bBytecodeEnabled : %u\n", fc_context->bBytecodeEnabled);

printf("Testing database: '%s' ...\n", dbFilename);
logg("Testing database: '%s' ...\n", dbFilename);

if (fc_context->bTestDatabases) {
#ifdef WIN32
Expand Down Expand Up @@ -368,9 +368,9 @@ fc_error_t download_complete_callback(const char *dbFilename, void *context)
done:

if (FC_SUCCESS == status) {
printf("Database test passed.\n");
logg("Database test passed.\n");
} else {
printf("Database test FAILED.\n");
logg("!Database test FAILED.\n");
}

g_sigchildWait = 1;
Expand Down

0 comments on commit 095abcc

Please sign in to comment.