use a proper "hack" for iconv functions:
[apps/madmutt.git] / state.c
diff --git a/state.c b/state.c
index 3e10619..ca73d4a 100644 (file)
--- a/state.c
+++ b/state.c
@@ -38,7 +38,7 @@ void mutt_convert_to_state (iconv_t cd, char *bufi, size_t * l, STATE * s)
   if (!bufi) {
     if (cd != (iconv_t) (-1)) {
       ob = bufo, obl = sizeof (bufo);
-      iconv (cd, 0, 0, &ob, &obl);
+      my_iconv(cd, 0, 0, &ob, &obl);
       if (ob != bufo)
         state_prefix_put (bufo, ob - bufo, s);
     }