summaryrefslogtreecommitdiffstats
path: root/addrbook.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2003-03-03 14:01:06 +0000
committerThomas Roessler <roessler@does-not-exist.org>2003-03-03 14:01:06 +0000
commitd044f05207a3eea8124b2029c4b04826b9f14003 (patch)
tree096b05db63f07f52223c1215e6531dce5a9e20e8 /addrbook.c
parente8b857a970452e6301b3e937002b623f2684334e (diff)
IDN support for e-mail messages. Things should work automagically
once you have the GNU IDN library available from ftp://alpha.gnu.org/pub/gnu/libidn/ installed. For IDN's which can't be losslessly recoded to your local character set, mutt should automatically fall back to using the ASCII representation. There's probably a considerable number of bugs in this, and the code may, at this point, not even compile on machines without libidn. Will start working on that ASAP.
Diffstat (limited to 'addrbook.c')
-rw-r--r--addrbook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addrbook.c b/addrbook.c
index 157a6f69..627c4704 100644
--- a/addrbook.c
+++ b/addrbook.c
@@ -55,7 +55,7 @@ alias_format_str (char *dest, size_t destlen, char op, const char *src,
break;
case 'r':
adr[0] = 0;
- rfc822_write_address (adr, sizeof (adr), alias->addr);
+ rfc822_write_address (adr, sizeof (adr), alias->addr, 1);
snprintf (tmp, sizeof (tmp), "%%%ss", fmt);
snprintf (dest, destlen, tmp, adr);
break;
@@ -222,13 +222,13 @@ new_aliases:
{
if (AliasTable[i]->tagged)
{
- rfc822_write_address (buf, buflen, AliasTable[i]->addr);
+ rfc822_write_address (buf, buflen, AliasTable[i]->addr, 0);
t = -1;
}
}
if(t != -1)
- rfc822_write_address (buf, buflen, AliasTable[t]->addr);
+ rfc822_write_address (buf, buflen, AliasTable[t]->addr, 0);
mutt_menuDestroy (&menu);
FREE (&AliasTable);