Browse code

count dups in pdf

git-svn: trunk@4101

aCaB authored on 2008/08/12 01:04:11
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Mon Aug 11 17:53:03 CEST 2008 (acab)
2
+------------------------------------
3
+  * libclamav/pdf.c: count skipped files too - bb#1128
4
+
1 5
 Sun Aug 10 18:07:43 CEST 2008 (acab)
2 6
 ------------------------------------
3 7
   * unit_tests: check for check version
... ...
@@ -502,6 +502,7 @@ cli_pdf(const char *dir, int desc, cli_ctx *ctx, off_t offset)
502 502
 
503 503
 				if(tableFind(md5table, md5str) >= 0) {
504 504
 					cli_dbgmsg("cli_pdf: not scanning duplicate embedded file '%s'\n", fullname);
505
+					ctx->scannedfiles++;
505 506
 					close(fout);
506 507
 					if (cli_unlink(fullname)) {
507 508
 						rc = CL_EIO;