From: Thomas Roessler Date: Mon, 3 Mar 2003 14:25:14 +0000 (+0000) Subject: Fixing some nits. X-Git-Tag: mutt-1-5-4-rel~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2040a8e8a9311f7e555999a10bdee1fc3b35da2;p=mutt Fixing some nits. --- diff --git a/copy.c b/copy.c index fc148c31..06a89f77 100644 --- a/copy.c +++ b/copy.c @@ -827,6 +827,13 @@ static int address_header_decode (char **h) l = 7; break; } + case 't': + { + if (ascii_strncasecmp (s, "to:", 3)) + return 0; + l = 3; + break; + } case 'm': { if (ascii_strncasecmp (s, "mail-followup-to:", 17)) diff --git a/sort.c b/sort.c index fcadd76a..f49b686a 100644 --- a/sort.c +++ b/sort.c @@ -18,6 +18,7 @@ #include "mutt.h" #include "sort.h" +#include "mutt_idna.h" #include #include @@ -96,7 +97,7 @@ char *mutt_get_name (ADDRESS *a) else if (a->personal) return a->personal; else if (a->mailbox) - return (a->mailbox); + return (mutt_addr_for_display (a)); } /* don't return NULL to avoid segfault when printing/comparing */ return ("");