X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_idna.c;h=2665f9c8b7da99989071d6a055db22fea51b83dd;hp=1f9da6c8f08d03251a5009cffd3bf6983b0c2a0d;hb=1abd265879dc5db7e9968a3b4ea7e2031e6b953e;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/mutt_idna.c b/mutt_idna.c index 1f9da6c..2665f9c 100644 --- a/mutt_idna.c +++ b/mutt_idna.c @@ -15,6 +15,11 @@ #include "charset.h" #include "mutt_idna.h" +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" +#include "lib/debug.h" + /* The low-level interface we use. */ #ifndef HAVE_LIBIDN @@ -64,10 +69,7 @@ int mutt_idna_to_local (const char *in, char **out, int flags) if (!irrev && idna_to_ascii_8z (tmp, &t2, 1) != IDNA_SUCCESS) irrev = 1; if (!irrev && ascii_strcasecmp (t2, in)) { - dprint (1, - (debugfile, - "mutt_idna_to_local: Not reversible. in = '%s', t2 = '%s'.\n", - in, t2)); + debug_print (1, ("not reversible. in = '%s', t2 = '%s'.\n", in, t2)); irrev = 1; }