]> granicus.if.org Git - mutt/commitdiff
Fix thinko in [cc02f079b1b9]
authorBrendan Cully <brendan@kublai.com>
Tue, 2 Mar 2010 19:16:00 +0000 (11:16 -0800)
committerBrendan Cully <brendan@kublai.com>
Tue, 2 Mar 2010 19:16:00 +0000 (11:16 -0800)
copy.c

diff --git a/copy.c b/copy.c
index 7e1c654d8596ab73a319852840c03a87b8b475b8..62f27277ddc30b8b1f37c058e33b021e506f1001 100644 (file)
--- a/copy.c
+++ b/copy.c
@@ -939,8 +939,8 @@ static int address_header_decode (char **h)
   mutt_addrlist_to_local (a);
   rfc2047_decode_adrlist (a);
   for (cur = a; cur; cur = cur->next)
-    if (a->personal)
-      rfc822_dequote_comment (a->personal);
+    if (cur->personal)
+      rfc822_dequote_comment (cur->personal);
 
   /* angle brackets for return path are mandated by RfC5322,
    * so leave Return-Path as-is */