refactor(3p/lisp/mime4cl): streamline MIME-MESSAGE dispatching
Change-Id: I1fda161e6e128f1bb085a63dd39541894e397d64 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12856 Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
This commit is contained in:
parent
e761311c46
commit
4ef8ee6f1e
1 changed files with 3 additions and 3 deletions
6
third_party/lisp/mime4cl/mime.lisp
vendored
6
third_party/lisp/mime4cl/mime.lisp
vendored
|
@ -761,12 +761,12 @@ returns a MIME-MESSAGE object."
|
|||
(with-open-file (in msg :element-type '(unsigned-byte 8))
|
||||
(mime-message in)))
|
||||
|
||||
(defmethod mime-message ((msg stream))
|
||||
(mime-message (make-flexi-stream msg)))
|
||||
|
||||
(defmethod mime-message ((msg flexi-stream))
|
||||
(read-mime-message msg))
|
||||
|
||||
(defmethod mime-message ((msg stream))
|
||||
(read-mime-message (make-flexi-stream msg)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric mime-part (object)
|
||||
|
|
Loading…
Reference in a new issue