projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* plain mail renderer
[citadel.git]
/
webcit
/
html2html.c
diff --git
a/webcit/html2html.c
b/webcit/html2html.c
index 4c3f7b6b28bff93a821bd58ba1c2253a802a91f1..6a5932da28972a178edea2db3facb98b45b2bdef 100644
(file)
--- 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);
&& (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));
if (ic == (iconv_t)(-1) ) {
lprintf(5, "%s:%d iconv_open() failed: %s\n",
__FILE__, __LINE__, strerror(errno));