Browse code

Tidy debug message

git-svn: trunk@1993

Nigel Horne authored on 2006/05/27 23:35:13
Showing 3 changed files
... ...
@@ -16,7 +16,7 @@
16 16
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 17
  *  MA 02110-1301, USA.
18 18
  */
19
-static	char	const	rcsid[] = "$Id: mbox.c,v 1.304 2006/05/19 11:02:12 njh Exp $";
19
+static	char	const	rcsid[] = "$Id: mbox.c,v 1.305 2006/05/27 14:29:54 njh Exp $";
20 20
 
21 21
 #if HAVE_CONFIG_H
22 22
 #include "clamav-config.h"
... ...
@@ -2655,7 +2655,7 @@ parseEmailBody(message *messageIn, text *textIn, const char *dir, const table_t
2655 2655
 			   (strcasecmp(mimeSubtype, "delivery-status") == 0)) {
2656 2656
 				message *m = parseEmailHeaders(mainMessage, rfc821Table);
2657 2657
 				if(m) {
2658
-					cli_dbgmsg("Decode rfc822");
2658
+					cli_dbgmsg("Decode rfc822\n");
2659 2659
 
2660 2660
 					messageSetCTX(m, ctx);
2661 2661
 
... ...
@@ -16,7 +16,7 @@
16 16
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 17
  *  MA 02110-1301, USA.
18 18
  */
19
-static	char	const	rcsid[] = "$Id: message.c,v 1.170 2006/05/19 11:02:12 njh Exp $";
19
+static	char	const	rcsid[] = "$Id: message.c,v 1.171 2006/05/27 14:35:13 njh Exp $";
20 20
 
21 21
 #if HAVE_CONFIG_H
22 22
 #include "clamav-config.h"
... ...
@@ -1381,7 +1381,7 @@ messageExport(message *m, const char *dir, void *(*create)(void), void (*destroy
1381 1381
 				 * system. Treat as plain/text, which means we'll still scan
1382 1382
 				 * for funnies outside of the uuencoded portion.
1383 1383
 				 */
1384
-				cli_dbgmsg("messageExport: treat uuencode as text/plain");
1384
+				cli_dbgmsg("messageExport: treat uuencode as text/plain\n");
1385 1385
 				enctype = m->encodingTypes[i] = NOENCODING;
1386 1386
 			}
1387 1387
 			filename = (char *)messageFindArgument(m, "filename");
... ...
@@ -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: pdf.c,v 1.50 2006/05/19 11:02:12 njh Exp $";
18
+static	char	const	rcsid[] = "$Id: pdf.c,v 1.51 2006/05/27 14:32:47 njh Exp $";
19 19
 
20 20
 #if HAVE_CONFIG_H
21 21
 #include "clamav-config.h"
... ...
@@ -266,7 +266,7 @@ cli_pdf(const char *dir, int desc, const cli_ctx *ctx)
266 266
 		if(streamend == NULL) {
267 267
 			streamend = cli_pmemstr(streamstart, len, "endstream\r", 10);
268 268
 			if(streamend == NULL) {
269
-				cli_dbgmsg("No endstream");
269
+				cli_dbgmsg("No endstream\n");
270 270
 				break;
271 271
 			}
272 272
 		}
... ...
@@ -276,7 +276,7 @@ cli_pdf(const char *dir, int desc, const cli_ctx *ctx)
276 276
 		streamlen = (int)(streamend - streamstart) + 1;
277 277
 
278 278
 		if(streamlen == 0) {
279
-			cli_dbgmsg("Empty stream");
279
+			cli_dbgmsg("Empty stream\n");
280 280
 			continue;
281 281
 		}
282 282