]> code.citadel.org Git - citadel.git/blobdiff - webcit/rss.c
Created ctdl_iconv_open() wrapper around iconv_open()
[citadel.git] / webcit / rss.c
index 48a7ad9a46a1331a52fd39c888d34db5c4242e79..6a962559a27b9b6f95ead77cc68ac6dd9096f76b 100644 (file)
@@ -3,6 +3,7 @@
  */
 /**
  * \defgroup RssRooms Generate some RSS for our rooms.
+ * \ingroup WebcitHttpServerRSS
  */
 /*@{*/
 #include "webcit.h"
@@ -245,7 +246,7 @@ void display_rss(char *roomname, char *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 = iconv_open("UTF-8", charset);
+                       ic = ctdl_iconv_open("UTF-8", charset);
                        if (ic == (iconv_t)(-1)) {
                                lprintf(5, "%s:%d iconv_open() failed: %s\n",
                                        __FILE__, __LINE__, strerror(errno));