Browse code

disable some debug spam

git-svn: trunk@3504

Tomasz Kojm authored on 2008/01/18 00:43:28
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Jan 17 10:15:59 EST 2008 (tk)
2
+---------------------------------
3
+  * libclamav: disable some debug spam
4
+
1 5
 Wed Jan 16 22:33:41 EST 2008 (tk)
2 6
 ---------------------------------
3 7
   * 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
234 234
 
235 235
 	if(maxshift) {
236 236
 	    if((fileoff < offset) || (fileoff > offset + (off_t) maxshift)) {
237
-		cli_dbgmsg("Signature offset: %ju, expected: [%ju..%ju] (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, (uintmax_t) (offset + maxshift), virname);
237
+		/* cli_dbgmsg("Signature offset: %ju, expected: [%ju..%ju] (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, (uintmax_t) (offset + maxshift), virname); */
238 238
 		return 0;
239 239
 	    }
240 240
 	} else if(fileoff != offset) {
241
-	    cli_dbgmsg("Signature offset: %ju, expected: %ju (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, virname);
241
+	    /* cli_dbgmsg("Signature offset: %ju, expected: %ju (%s)\n", (uintmax_t) fileoff, (uintmax_t) offset, virname); */
242 242
 	    return 0;
243 243
 	}
244 244
     }