oops :)
authorPierre Habouzit <madcoder@debian.org>
Wed, 15 Nov 2006 01:19:02 +0000 (02:19 +0100)
committerPierre Habouzit <madcoder@debian.org>
Wed, 15 Nov 2006 01:19:02 +0000 (02:19 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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);