oops :)
[apps/madmutt.git] / charset.c
index 8a1804f..cd672b5 100644 (file)
--- a/charset.c
+++ b/charset.c
@@ -391,6 +391,7 @@ fgetconv_open(FILE *file, const char *from, const char *to, int flags)
     struct fgetconv_t *fc = p_new(struct fgetconv_t, 1);
 
     fc->file = file;
+    fc->cd   = MUTT_ICONV_ERROR;
     if (from && to)
         fc->cd = mutt_iconv_open(to, from, flags);