Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > a93f99a44d205cb3cb0c65589bfd0397 > files > 4

procmail-3.22-12mdv2009.0.src.rpm

--- procmail-3.22/src/mailfold.c.warly	Thu Nov 29 10:48:35 2001
+++ procmail-3.22/src/mailfold.c	Thu Nov 29 10:49:03 2001
@@ -378,7 +378,8 @@
 	dfilled=mailread=0;
      else if(rhead)				/* only read in a new header */
       { memblk new;
-	dfilled=mailread=0;makeblock(&new,0);readdyn(&new,&dfilled,0);
+	dfilled=mailread=0;makeblock(&new,0);
+	readdyn(&new,&dfilled,thebody-themail.p);
 	if(tobesent>dfilled&&isprivate)		     /* put it in place here */
 	 { tmemmove(themail.p+dfilled,thebody,filled-=tobesent);
 	   tmemmove(themail.p,new.p,dfilled);