]> git.llucax.com Git - software/mutt-debian.git/blobdiff - copy.c
upstream/608706-fix-spelling-errors.patch: to fix some spelling errors (Closes: 608706)
[software/mutt-debian.git] / copy.c
diff --git a/copy.c b/copy.c
index 9ddf411b752dec7246f149cc2ad9cfd5728de434..62f27277ddc30b8b1f37c058e33b021e506f1001 100644 (file)
--- 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 */