summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-02-02 19:07:01 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-02-02 19:07:37 +0100
commitd34dd869d2223254bc5262ca1194eb2edaff029a (patch)
tree5a47d4afdd8318d4dcb9dbafff74ab2291b5e332 /lisp/mail
parent27c93778ef15c887a9d26ba198fddbe322d58284 (diff)
downloademacs-d34dd869d2223254bc5262ca1194eb2edaff029a.tar.gz
emacs-d34dd869d2223254bc5262ca1194eb2edaff029a.tar.bz2
emacs-d34dd869d2223254bc5262ca1194eb2edaff029a.zip
Fix decoding error in ietf-drums-parse-address
* lisp/mail/ietf-drums.el (ietf-drums-parse-address): Don't try to decode the name if there is no name (bug#53716).
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/ietf-drums.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/ietf-drums.el b/lisp/mail/ietf-drums.el
index 4a079591890..952707226f5 100644
--- a/lisp/mail/ietf-drums.el
+++ b/lisp/mail/ietf-drums.el
@@ -240,7 +240,7 @@ If DECODE, the DISPLAY-NAME will have RFC2047 decoding performed
(cons
(mapconcat #'identity (nreverse display-name) "")
(ietf-drums-get-comment string)))
- (cons mailbox (if decode
+ (cons mailbox (if (and decode display-string)
(rfc2047-decode-string display-string)
display-string))))))