]> granicus.if.org Git - mutt/commitdiff
Fix address group terminator "exact address" printing to display trailing semicolon.
authorKevin McCarthy <kevin@8t8.us>
Sun, 1 Oct 2017 02:15:08 +0000 (19:15 -0700)
committerKevin McCarthy <kevin@8t8.us>
Sun, 1 Oct 2017 02:15:08 +0000 (19:15 -0700)
The exact-address handling for comma and colon are different because
those are added outside the exact-address printing.

The semicolon needs to be inside the address->val field of the address
group terminator.

rfc822.c

index d347d69e86984c7a9d199250859504f17d783bf2..5b3f0b8f0cdfb82a20e45ffe81e31afb6cd05576 100644 (file)
--- a/rfc822.c
+++ b/rfc822.c
@@ -494,10 +494,10 @@ ADDRESS *rfc822_parse_adrlist (ADDRESS *top, const char *s)
 
       phraselen = 0;
       commentlen = 0;
-      s++;
 #ifdef EXACT_ADDRESS
-      begin = skip_email_wsp(s);
+      begin = s;
 #endif
+      s++;
     }
     else if (*s == '<')
     {