summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-05 18:42:41 +0000
committerMarcus Boerger <helly@php.net>2002-08-05 18:42:41 +0000
commit6c094c3e07cf2da7cc2f9237c77d8552f52e8ead (patch)
tree11fdcbfa81c5c0657ffe706d7d410965dd19f07e
parentabc7041ca2d964214585f81369e2ee36d7a7b9dc (diff)
downloadphp-git-6c094c3e07cf2da7cc2f9237c77d8552f52e8ead.tar.gz
ws fix
-rw-r--r--ext/iconv/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c
index e36605e972..8d407b6f2a 100644
--- a/ext/iconv/iconv.c
+++ b/ext/iconv/iconv.c
@@ -326,7 +326,7 @@ PHP_FUNCTION(ob_iconv_handler)
if ((s = strchr(SG(sapi_headers).mimetype,';')) == NULL){
mimetype = estrdup(SG(sapi_headers).mimetype);
} else {
- mimetype = estrndup(SG(sapi_headers).mimetype,s-SG(sapi_headers).mimetype);
+ mimetype = estrndup(SG(sapi_headers).mimetype, s-SG(sapi_headers).mimetype);
}
} else if (SG(sapi_headers).send_default_content_type) {
mimetype = estrdup(SG(default_mimetype) ? SG(default_mimetype) : SAPI_DEFAULT_MIMETYPE);