Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 321a977218b599590d188b2a37be0d59 > files > 5

procmail-3.22-17.mga1.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);