Browse code

Fix typo

git-svn: trunk@2852

Nigel Horne authored on 2007/02/24 04:50:40
Showing 1 changed files
... ...
@@ -44,6 +44,7 @@ static	char	const	rcsid[] = "$Id: pst.c,v 1.43 2007/01/05 14:45:08 njh Exp $";
44 44
 
45 45
 #include "clamav.h"
46 46
 #include "others.h"
47
+#include "pst.h"
47 48
 
48 49
 #ifdef	CL_EXPERIMENTAL
49 50
 
... ...
@@ -65,8 +66,6 @@ typedef	uint16_t	u_int16_t;	/* should be in cltypes.h */
65 65
 typedef	uint32_t	u_int32_t;
66 66
 #endif
67 67
 
68
-#include "pst.h"
69
-
70 68
 #define	DWORD	unsigned int
71 69
 
72 70
 #define DEBUG_VERSION 1
... ...
@@ -4794,7 +4793,7 @@ write_email_body(FILE *f, const char *body)
4794 4794
 			/* write just a line */
4795 4795
 			ret = fwrite(body, 1, (size_t)(n - body), f);
4796 4796
 			if(ret != (size_t)(n - body)) {
4797
-				cli_errmsg("write_email_body: only wrote %u of $u bytes\n",
4797
+				cli_errmsg("write_email_body: only wrote %u of %u bytes\n",
4798 4798
 					ret, n - body);
4799 4799
 				return ret;
4800 4800
 			}