diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2026-03-01 19:30:09 +0100 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2026-03-01 19:30:09 +0100 |
| commit | 951ba68794bc228e00c40d36cca44c65da69603c (patch) | |
| tree | eb36035362a55b2a3a5fe3244e741d186f00753f /src/file_processor.c | |
| parent | 97accf560f501677bc0a5432a85e6f6fd1f16b3b (diff) | |
| download | duplicate_finder-951ba68794bc228e00c40d36cca44c65da69603c.tar.gz duplicate_finder-951ba68794bc228e00c40d36cca44c65da69603c.tar.bz2 | |
Be more verbose when scanning.
Diffstat (limited to 'src/file_processor.c')
| -rw-r--r-- | src/file_processor.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/file_processor.c b/src/file_processor.c index da51e30..b2b4f85 100644 --- a/src/file_processor.c +++ b/src/file_processor.c @@ -24,6 +24,7 @@ #include "hex_conversion.h" #include "kv_manager.h" #include "database_interaction.h" +#include "options.h" /*=========== DEFINES, CONSTANTS AND TYPES ===========*/ @@ -229,6 +230,10 @@ int process_file(struct df_fileinfo *info) { return -1; } + if ( ! option_quiet ) { + LOGERR("Calculating hashes for file '%s'\n", fullpath); + } + /* TODO: proper fread related error handling */ while (true) { bytes_read = fread(buffer, sizeof(unsigned char), glbl_bufsize, fdin); |
