Browse code

fix format for ZMD sigs in debug stream

git-svn: trunk@4088

aCaB authored on 2008/08/06 09:31:27
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Wed Aug  6 02:15:39 CEST 2008 (acab)
2
+------------------------------------
3
+  * libclamav/unzip.c: fix incorrect debug spam which misleaded poor sigmakers
4
+
1 5
 Wed Aug  6 02:11:12 CEST 2008 (acab)
2 6
 ------------------------------------
3 7
   * build system, clamav-milter: work around for non MT lresolv (bb#1125)
... ...
@@ -347,7 +347,7 @@ static unsigned int lhdr(uint8_t *zip, uint32_t zsize, unsigned int *fu, unsigne
347 347
   zip+=LH_flen;
348 348
   zsize-=LH_flen;
349 349
 
350
-  cli_dbgmsg("cli_unzip: lh - ZMDNAME:%d:%s:%u:%u:%u:%u:%u:%u\n", ((LH_flags & F_ENCR)==0), name, LH_usize, LH_csize, LH_crc32, LH_method, fc, ctx->recursion);
350
+  cli_dbgmsg("cli_unzip: lh - ZMDNAME:%d:%s:%u:%u:%x:%u:%u:%u\n", ((LH_flags & F_ENCR)!=0), name, LH_usize, LH_csize, LH_crc32, LH_method, fc, ctx->recursion);
351 351
   /* ZMDfmt virname:encrypted(0-1):filename(exact|*):usize(exact|*):csize(exact|*):crc32(exact|*):method(exact|*):fileno(exact|*):maxdepth(exact|*) */
352 352
 
353 353
   while(meta &&