aboutsummaryrefslogtreecommitdiff
path: root/src/file_processor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_processor.c')
-rw-r--r--src/file_processor.c5
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);