Browse code

Change encoding guess from warn to debug

git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1037 77e5149b-7576-45b1-b177-96237e5ba77b

Nigel Horne authored on 2004/10/24 12:51:48
Showing 1 changed files
... ...
@@ -17,6 +17,9 @@
17 17
  *
18 18
  * Change History:
19 19
  * $Log: message.c,v $
20
+ * Revision 1.107  2004/10/24 03:51:48  nigelhorne
21
+ * Change encoding guess from warn to debug
22
+ *
20 23
  * Revision 1.106  2004/10/22 17:18:13  nigelhorne
21 24
  * Handle encoding type us-ascii - should be none
22 25
  *
... ...
@@ -315,7 +318,7 @@
315 315
  * uuencodebegin() no longer static
316 316
  *
317 317
  */
318
-static	char	const	rcsid[] = "$Id: message.c,v 1.106 2004/10/22 17:18:13 nigelhorne Exp $";
318
+static	char	const	rcsid[] = "$Id: message.c,v 1.107 2004/10/24 03:51:48 nigelhorne Exp $";
319 319
 
320 320
 #if HAVE_CONFIG_H
321 321
 #include "clamav-config.h"
... ...
@@ -1006,7 +1009,7 @@ messageSetEncoding(message *m, const char *enctype)
1006 1006
 			 * 66% certain to be 7bit
1007 1007
 			 */
1008 1008
 			if(closest && (highestSimil >= 50)) {
1009
-				cli_warnmsg("Unknown encoding type \"%s\" - guessing as %s (%u%% certainty)\n",
1009
+				cli_dbgmsg("Unknown encoding type \"%s\" - guessing as %s (%u%% certainty)\n",
1010 1010
 					type, closest, highestSimil);
1011 1011
 				messageSetEncoding(m, closest);
1012 1012
 			} else {