tag returned message with true original from (not localhost)
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 24 Jul 1993 05:51:44 +0000 (21:51 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 24 Jul 1993 05:51:44 +0000 (21:51 -0800)
SCCS-vsn: usr.sbin/sendmail/src/savemail.c 8.8

usr/src/usr.sbin/sendmail/src/savemail.c

index 8c2194d..451e52a 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)savemail.c 8.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)savemail.c 8.8 (Berkeley) %G%";
 #endif /* not lint */
 
 # include "sendmail.h"
 #endif /* not lint */
 
 # include "sendmail.h"
@@ -571,7 +571,7 @@ errbody(fp, m, e)
 
        sprintf(buf, "The original message was received at %s", arpadate(NULL));
        putline(buf, fp, m);
 
        sprintf(buf, "The original message was received at %s", arpadate(NULL));
        putline(buf, fp, m);
-       expand("from \201_", buf, &buf[sizeof buf - 1], e);
+       expand("from \201_", buf, &buf[sizeof buf - 1], e->e_parent);
        putline(buf, fp, m);
        putline("", fp, m);
 
        putline(buf, fp, m);
        putline("", fp, m);