disable some debug spam

git-svn: trunk@3504
remotes/push_mirror/metadata
Tomasz Kojm 18 years ago
parent 7e5f05e0a5
commit 4097ef050d
  1. 4
      ChangeLog
  2. 4
      libclamav/matcher.c

@ -1,3 +1,7 @@
Thu Jan 17 10:15:59 EST 2008 (tk)
---------------------------------
* libclamav: disable some debug spam
Wed Jan 16 22:33:41 EST 2008 (tk)
---------------------------------
* libclamav: remove experimental JS and PST code

@ -234,11 +234,11 @@ int cli_validatesig(cli_file_t ftype, const char *offstr, off_t fileoff, struct
if(maxshift) {
if((fileoff < offset) || (fileoff > offset + (off_t) maxshift)) {
cli_dbgmsg("Signature offset: %ju, expected: [%ju..%ju] (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, (uintmax_t) (offset + maxshift), virname);
/* cli_dbgmsg("Signature offset: %ju, expected: [%ju..%ju] (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, (uintmax_t) (offset + maxshift), virname); */
return 0;
}
} else if(fileoff != offset) {
cli_dbgmsg("Signature offset: %ju, expected: %ju (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, virname);
/* cli_dbgmsg("Signature offset: %ju, expected: %ju (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, virname); */
return 0;
}
}

Loading…
Cancel
Save