Browse code

Put no plain text alternative message to debug rather than the temporary file

git-svn: trunk@1623

Nigel Horne authored on 2005/06/19 21:12:31
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sun Jun 19 13:11:20 BST 2005 (njh)
2
+----------------------------------
3
+  * libclamav/mbox.c:	Changed debug message when no text part is found in
4
+		an email, since the that can confuse the virus scanner
5
+
1 6
 Sat Jun 18 14:24:54 BST 2005 (njh)
2 7
 ----------------------------------
3 8
   * libclamav/mbox.c:	Harden the test for the start of a new message in mbox,
... ...
@@ -15,7 +15,7 @@
15 15
  *  along with this program; if not, write to the Free Software
16 16
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18
-static	char	const	rcsid[] = "$Id: mbox.c,v 1.248 2005/06/18 13:23:42 nigelhorne Exp $";
18
+static	char	const	rcsid[] = "$Id: mbox.c,v 1.249 2005/06/19 12:09:10 nigelhorne Exp $";
19 19
 
20 20
 #if HAVE_CONFIG_H
21 21
 #include "clamav-config.h"
... ...
@@ -2063,7 +2063,7 @@ parseEmailBody(message *messageIn, text *textIn, const char *dir, const table_t
2063 2063
 							/*
2064 2064
 							 * No plain text version
2065 2065
 							 */
2066
-							messageAddStr(aMessage, "No plain text alternative");
2066
+							cli_dbgmsg("No plain text alternative");
2067 2067
 						assert(messageGetBody(aMessage) != NULL);
2068 2068
 						break;
2069 2069
 					case TEXT: