[Avcheck] Bug in avcheck 0.9
Michael Tokarev
mjt@tls.msk.ru
Sun, 04 Aug 2002 23:18:58 +0400
Varadi Gabor wrote:
>
> 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");
Yes, you're right. Interesting - how you noticed this one?
Thanks, checked in. New version? ;)
/mjt