* plain mail renderer
[citadel.git] / webcit / rss.c
index 0a88ca2a872ded65f901b0a6693f98c267f5a885..d17fe3896eaa5c3fd192663a655ebac41b4a766e 100644 (file)
@@ -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));