From: Jaroslav Kysela Date: Wed, 14 Feb 2018 12:31:18 +0000 (+0100) Subject: webui: http_serve_file() fix tvherror - intlconv X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d923d490c8df19b0904bedece222c77ac6afd4cc;p=thirdparty%2Ftvheadend.git webui: http_serve_file() fix tvherror - intlconv --- diff --git a/src/webui/webui.c b/src/webui/webui.c index e55ed8d57..a71a24997 100644 --- a/src/webui/webui.c +++ b/src/webui/webui.c @@ -1477,7 +1477,7 @@ http_serve_file(http_connection_t *hc, const char *fname, basename, strlen(basename) * 3); if (str0 == NULL) { tvherror(LS_HTTP, "unable to convert filename '%s' to a safe form using charset '%s'", - intlconv_charset_id("ASCII", 1, 1), basename); + basename, intlconv_charset_id("ASCII", 1, 1)); return HTTP_STATUS_INTERNAL; } htsbuf_queue_init(&q, 0);