$OpenBSD: patch-src_lang_c,v 1.2 2007/11/30 18:39:53 fgsch Exp $ --- src/lang.c.orig Sat Nov 17 15:24:32 2007 +++ src/lang.c Sat Nov 17 15:24:41 2007 @@ -59,9 +59,8 @@ Eiconv(iconv_t icd, const char *txt, size_t len) pi = (char *)txt; po = buf; ni = (len > 0) ? len : strlen(txt); - if (!icd) + if (icd == BAD_CD) { - Eprintf("*** WARNING - Missing conversion\n"); return Estrndup(txt, ni); } no = sizeof(buf);