X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fhtml2html.c;h=6a5932da28972a178edea2db3facb98b45b2bdef;hp=4c3f7b6b28bff93a821bd58ba1c2253a802a91f1;hb=e1cfdc9ced08ba38ac79b4bb998c6e8c35cdc167;hpb=ff0021ec0349b708794737b452157e399c67eae7 diff --git a/webcit/html2html.c b/webcit/html2html.c index 4c3f7b6b2..6a5932da2 100644 --- a/webcit/html2html.c +++ b/webcit/html2html.c @@ -241,7 +241,7 @@ void output_html(const char *supplied_charset, int treat_as_wiki, int msgnum, St && (strcasecmp(charset, "")) ) { lprintf(9, "Converting %s to UTF-8\n", charset); - ic = ctdl_iconv_open("UTF-8", charset); + ctdl_iconv_open("UTF-8", charset, &ic); if (ic == (iconv_t)(-1) ) { lprintf(5, "%s:%d iconv_open() failed: %s\n", __FILE__, __LINE__, strerror(errno));