tDisplay invalid iconv conversions too. - rohrpost - A commandline mail client to change the world as we see it.
 (HTM) git clone git://r-36.net/rohrpost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit eeb642fbf88b64e1120f8aeba85dd3b699e3c2be
 (DIR) parent e87694cbf0a912cd2a75046038ecaa7cb02fa55f
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sat,  1 Mar 2014 10:28:44 +0100
       
       Display invalid iconv conversions too.
       
       Diffstat:
         mime.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/mime.c b/mime.c
       t@@ -134,7 +134,7 @@ mime_iconv(char *str, char *from, char *to)
                                        continue;
                                }
                                if (errno == EILSEQ || errno == EINVAL)
       -                                break;
       +                                return NULL;
                                free(outb);
                                iconv_close(ifd);
                                return NULL;