summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 54ed0bc018..b5d4a54080 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -364,7 +364,7 @@ SAPI_API int sapi_add_header(char *header_line, uint header_line_len)
ptr++;
}
mimetype = estrdup(ptr);
- newlen = sapi_apply_default_charset(&mimetype, len);
+ newlen = sapi_apply_default_charset(&mimetype, len SLS_CC);
if (newlen != 0) {
newlen += sizeof("Content-type: ");
newheader = emalloc(newlen);