diff options
author | Marcus Boerger <helly@php.net> | 2002-08-02 10:22:31 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-08-02 10:22:31 +0000 |
commit | de8c36dcaa730e53265e6c2201c49c4ced3af68f (patch) | |
tree | 5cd20469f0fb4e80973e10e2ac3838e0f48a58cd /main | |
parent | e5fa36eee4da397645498de55d957c4a438026e1 (diff) | |
download | php-git-de8c36dcaa730e53265e6c2201c49c4ced3af68f.tar.gz |
-use const to clarify code
-fix tsrmls build (therefore rfc1867.c)
Diffstat (limited to 'main')
-rw-r--r-- | main/rfc1867.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c index 904b659ef0..861ddcc000 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -460,7 +460,7 @@ static char *substring_conf(char *start, int len, char quote TSRMLS_DC) } else { *resp++ = start[i]; #if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING) - if (mbstr_encoding_translation(TSRMLS_CC) && + if (mbstr_encoding_translation(TSRMLS_C) && mbstr_is_mb_leadbyte(start+i TSRMLS_CC)) { *resp++ = start[++i]; } @@ -842,7 +842,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) } #if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING) - if (mbstr_encoding_translation(TSRMLS_CC)) { + if (mbstr_encoding_translation(TSRMLS_C)) { s = mbstr_strrchr(filename, '\\' TSRMLS_CC); } else { s = strrchr(filename, '\\'); |