X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Frss.c;h=d17fe3896eaa5c3fd192663a655ebac41b4a766e;hb=e1cfdc9ced08ba38ac79b4bb998c6e8c35cdc167;hp=0a88ca2a872ded65f901b0a6693f98c267f5a885;hpb=ff0021ec0349b708794737b452157e399c67eae7;p=citadel.git diff --git a/webcit/rss.c b/webcit/rss.c index 0a88ca2a8..d17fe3896 100644 --- a/webcit/rss.c +++ b/webcit/rss.c @@ -254,7 +254,7 @@ void display_rss(char *roomname, StrBuf *request_method) /** Set up a character set conversion if we need to */ #ifdef HAVE_ICONV if (strcasecmp(charset, "us-ascii") && strcasecmp(charset, "utf-8") && strcasecmp(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));