(mime-parse-multipart): Use 'mime-content-type-parameter.
authormorioka <morioka>
Thu, 28 May 1998 17:11:32 +0000 (17:11 +0000)
committermorioka <morioka>
Thu, 28 May 1998 17:11:32 +0000 (17:11 +0000)
mime-parse.el

index 3a6ac0a..3eb5a8f 100644 (file)
@@ -210,8 +210,7 @@ If is is not found, return DEFAULT-ENCODING."
   (let* ((dash-boundary
          (concat "--"
                  (std11-strip-quoted-string
-                  (cdr (assoc "boundary"
-                              (mime-content-type-parameters content-type))))))
+                  (mime-content-type-parameter content-type "boundary"))))
         (delimiter       (concat "\n" (regexp-quote dash-boundary)))
         (close-delimiter (concat delimiter "--[ \t]*$"))
         (beg (point-min))