diff options
author | Andi Gutmans <andi@php.net> | 2000-12-16 20:52:43 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-12-16 20:52:43 +0000 |
commit | 86a1cace276f827bd8261e624c4839b58ffc5f15 (patch) | |
tree | 60527ca4b4148f6aa014a444aed491c53a4742ac /sapi/servlet/servlet.c | |
parent | 93a93c242973f8152b24a2b2beab236220404bfa (diff) | |
download | php-git-86a1cace276f827bd8261e624c4839b58ffc5f15.tar.gz |
- Make all places use MAXPATHLEN in the same way. It includes the
terminating NULL.
Diffstat (limited to 'sapi/servlet/servlet.c')
-rw-r--r-- | sapi/servlet/servlet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c index 04a51798de..210e59c9b9 100644 --- a/sapi/servlet/servlet.c +++ b/sapi/servlet/servlet.c @@ -327,7 +327,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send zend_file_handle file_handle; #ifndef VIRTUAL_DIR - char cwd[MAXPATHLEN+1]; + char cwd[MAXPATHLEN]; #endif SLS_FETCH(); PLS_FETCH(); |