summaryrefslogtreecommitdiffstats
path: root/alias.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2015-11-24 15:49:26 -0800
committerKevin McCarthy <kevin@8t8.us>2015-11-24 15:49:26 -0800
commit0e0520faf7a96e2cc0efa49eced65adb4e5acfe6 (patch)
treee0ffd51e41bfef7c2023e83fcf3de9eed54145ec /alias.c
parent0864167e8a6ba598cf919fb26c242997518f7386 (diff)
Rename idna functions and bits for smtputf8 changes.
This is patch 1 of 4 implementing support for SMTPUTF8 (RFC 6531). Change mutt_idna.c to be always compiled. Remove the stub functions in mutt_idna.h. Instead, put #ifdefs around the idna function calls. The conversion functions will be fixed up in the next patch. Rename the conversion functions to mutt_addrlist_to_intl() and mutt_env_to_intl(). Rename the ADDRESS idna status bits to "intl" status bits.
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/alias.c b/alias.c
index 986f4476..cb653fd1 100644
--- a/alias.c
+++ b/alias.c
@@ -290,7 +290,7 @@ retry_name:
else
buf[0] = 0;
- mutt_addrlist_to_idna (adr, NULL);
+ mutt_addrlist_to_intl (adr, NULL);
do
{
@@ -302,7 +302,7 @@ retry_name:
if((new->addr = rfc822_parse_adrlist (new->addr, buf)) == NULL)
BEEP ();
- if (mutt_addrlist_to_idna (new->addr, &err))
+ if (mutt_addrlist_to_intl (new->addr, &err))
{
mutt_error (_("Error: '%s' is a bad IDN."), err);
mutt_sleep (2);