X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..e0765f8ab8243c097213733be0d4be2a31448b89:/copy.c?ds=sidebyside diff --git a/copy.c b/copy.c index 9ddf411..62f2727 100644 --- a/copy.c +++ b/copy.c @@ -868,6 +868,7 @@ static int address_header_decode (char **h) int l, rp = 0; ADDRESS *a = NULL; + ADDRESS *cur = NULL; switch (tolower ((unsigned char) *s)) { @@ -937,6 +938,9 @@ static int address_header_decode (char **h) mutt_addrlist_to_local (a); rfc2047_decode_adrlist (a); + for (cur = a; cur; cur = cur->next) + if (cur->personal) + rfc822_dequote_comment (cur->personal); /* angle brackets for return path are mandated by RfC5322, * so leave Return-Path as-is */