Browse code

Correct pointer following >From

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

Nigel Horne authored on 2006/05/05 21:31:55
Showing 1 changed files
... ...
@@ -23,7 +23,7 @@
23 23
  *
24 24
  * For installation instructions see the file INSTALL that came with this file
25 25
  */
26
-static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.239 2006/05/05 12:28:19 nigelhorne Exp $";
26
+static	char	const	rcsid[] = "$Id: clamav-milter.c,v 1.240 2006/05/05 12:31:55 nigelhorne Exp $";
27 27
 
28 28
 #define	CM_VERSION	"devel-050506"
29 29
 
... ...
@@ -2579,7 +2579,7 @@ clamfi_body(SMFICTX *ctx, u_char *bodyp, size_t len)
2579 2579
 			if(*ptr == '\n') {
2580 2580
 				if(strncmp(ptr, "\nFrom ", 6) == 0) {
2581 2581
 					nbytes += clamfi_send(privdata, 7, "\n>From ");
2582
-					ptr += 7;
2582
+					ptr += 6;
2583 2583
 					left -= 6;
2584 2584
 				} else {
2585 2585
 					nbytes += clamfi_send(privdata, 1, "\n");