X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..20f65ac3b82b354496b5bb469ff184ba8b0bcd96:/copy.c 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 */