diff options
author | Brendan Cully <brendan@kublai.com> | 2008-10-07 19:22:53 -0700 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2008-10-07 19:22:53 -0700 |
commit | 1a34c31c0e285e50619a4391cc1dec959f3c6edb (patch) | |
tree | 36a0a0c0b019d42b3c391a132730e521a5a235a4 /mutt_idna.c | |
parent | 3da4fe1a59da55332e67db06c4b3386a0ccc3e8b (diff) |
Clean up with/without-idn handling
Diffstat (limited to 'mutt_idna.c')
-rw-r--r-- | mutt_idna.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/mutt_idna.c b/mutt_idna.c index f7aa57e0..10a5dc2c 100644 --- a/mutt_idna.c +++ b/mutt_idna.c @@ -26,21 +26,7 @@ /* The low-level interface we use. */ -#ifndef HAVE_LIBIDN - -int mutt_idna_to_local (const char *in, char **out, int flags) -{ - *out = safe_strdup (in); - return 1; -} - -int mutt_local_to_idna (const char *in, char **out) -{ - *out = safe_strdup (in); - return 0; -} - -#else +#ifdef HAVE_LIBIDN /* check whether an address is an IDN */ |