diff options
Diffstat (limited to 'usr.sbin/sendmail/src/savemail.c')
-rw-r--r-- | usr.sbin/sendmail/src/savemail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/src/savemail.c b/usr.sbin/sendmail/src/savemail.c index 6467def..214dca5 100644 --- a/usr.sbin/sendmail/src/savemail.c +++ b/usr.sbin/sendmail/src/savemail.c @@ -33,7 +33,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)savemail.c 8.28 (Berkeley) 3/11/94"; +static char sccsid[] = "@(#)savemail.c 8.29 (Berkeley) 5/10/94"; #endif /* not lint */ # include "sendmail.h" @@ -521,7 +521,7 @@ returntosender(msg, returnq, sendbody, e) e->e_id, ee->e_id, msg); # endif - (void) sprintf(buf, "Returned mail: %s", msg); + (void) sprintf(buf, "Returned mail: %.*s", sizeof buf - 20, msg); addheader("Subject", buf, ee); if (SendMIMEErrors) { |