commit eeb642fbf88b64e1120f8aeba85dd3b699e3c2be parent e87694cbf0a912cd2a75046038ecaa7cb02fa55f 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(-)
diff --git a/mime.c b/mime.c @@ -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;