Browse code

Fixed some print statements

git-svn: trunk@1648

Nigel Horne authored on 2005/07/12 00:01:40
Showing 1 changed files
... ...
@@ -24,7 +24,7 @@
24 24
 #include "clamav-config.h"
25 25
 #endif
26 26
 
27
-static	char	const	rcsid[] = "$Id: tnef.c,v 1.25 2005/07/11 14:55:10 nigelhorne Exp $";
27
+static	char	const	rcsid[] = "$Id: tnef.c,v 1.26 2005/07/11 15:01:40 nigelhorne Exp $";
28 28
 
29 29
 #include <stdio.h>
30 30
 #include <fcntl.h>
... ...
@@ -254,7 +254,7 @@ tnef_message(FILE *fp, uint16_t type, uint16_t tag, int32_t length)
254 254
 			free(string);
255 255
 			break;
256 256
 		default:
257
-			cli_dbgmsg("TNEF - unsupported message tag 0x%x type 0x%d length %u\n", tag, type, length);
257
+			cli_dbgmsg("TNEF - unsupported message tag 0x%x type 0x%d length %d\n", tag, type, length);
258 258
 			break;
259 259
 #endif
260 260
 	}
... ...
@@ -330,7 +330,7 @@ tnef_attachment(FILE *fp, uint16_t type, uint16_t tag, int32_t length, const cha
330 330
 			}
331 331
 			break;
332 332
 		default:
333
-			cli_dbgmsg("TNEF - unsupported attachment tag 0x%x type 0x%d length %u\n", tag, type, length);
333
+			cli_dbgmsg("TNEF - unsupported attachment tag 0x%x type 0x%d length %d\n", tag, type, length);
334 334
 			break;
335 335
 	}
336 336
 
... ...
@@ -367,7 +367,7 @@ tnef_header(FILE *fp, uint8_t *part, uint16_t *type, uint16_t *tag, int32_t *len
367 367
 		return -1;
368 368
 	*length = (int32_t)host32(i32);
369 369
 
370
-	cli_dbgmsg("message tag 0x%x, type 0x%x, length %u\n", *tag, *type, *length);
370
+	cli_dbgmsg("message tag 0x%x, type 0x%x, length %d\n", *tag, *type, *length);
371 371
 
372 372
 	return 1;
373 373
 }