[Avcheck] Bug in avcheck 0.9

Varadi Gabor varadi@mithrandir.hu
Sat, 3 Aug 2002 15:31:16 +0200


	Hi.

	I'm found bug in avcheck v.0.9
	This diff correcting bug.

---cut---
--- avcheck.c	Sat Jul 27 22:22:05 2002
+++ avcheck.c	Sat Aug  3 15:22:13 2002
@@ -439,7 +439,7 @@
     /* this returned when AVP is unable to parse file structure for
        various reasons. */
   case 8: /* file is corrupted (e.g. archive) - do not treat it as bad */
-    warn("unexpected %s return code %d (0x%04x)", avname, r & 0xcf,
+    warn("unexpected %s return code %d (0x%04x) (%s)", avname, r & 0xcf, r,
          ((r & 0xcf) == 1) ? "virus scan was incomplete" : "file is corrupted");
     return 0;
   case 4: /* known virus(es) detected */
---cut---

-- 
    [Varadi Gabor]