From 9b566d8c4539a6845f211121ebb577b5018d1c95 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 29 Oct 2004 20:05:06 +0000 Subject: [PATCH] Oops... fix unfinished part of last change. --- v7/src/edwin/sendmail.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/v7/src/edwin/sendmail.scm b/v7/src/edwin/sendmail.scm index 136dcb93b..61629383e 100644 --- a/v7/src/edwin/sendmail.scm +++ b/v7/src/edwin/sendmail.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: sendmail.scm,v 1.84 2004/10/29 16:31:41 cph Exp $ +$Id: sendmail.scm,v 1.85 2004/10/29 20:05:06 cph Exp $ Copyright 1991,1992,1993,1994,1995,1996 Massachusetts Institute of Technology Copyright 1997,1998,2000,2001,2003,2004 Massachusetts Institute of Technology @@ -1232,11 +1232,15 @@ the user from the mailer." (define (buffer-mime-processing-enabled? buffer) (not (buffer-get buffer 'MAIL-DISABLE-MIME-PROCESSING #f))) -(define (add-buffer-mime-attachment! buffer - type subtype parameters disposition +(define (add-buffer-mime-attachment! buffer mime-type parameters disposition . rest) (let ((attachment - (list->vector (cons* type subtype parameters disposition rest)))) + (list->vector + (cons* (mime-type/top-level mime-type) + (mime-type/subtype mime-type) + parameters + disposition + rest)))) (set-buffer-mime-attachments! buffer (append (buffer-mime-attachments buffer) (list attachment))) -- 2.25.1