summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-07-03 00:55:20 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-07-03 00:55:20 +0000
commita96aa89ae3a48dfe7ce33e9ba518e3da3e32989a (patch)
tree867d66f726ea254da5ae51b018ed05a0b0f4e87a
parent30b5cbd1514f24564dcbbf51c3dcd25d87ee6e0d (diff)
downloadphp-git-a96aa89ae3a48dfe7ce33e9ba518e3da3e32989a.tar.gz
Compiler warning fix.
-rw-r--r--main/rfc1867.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c
index b8b4f533ac..24e1ddde18 100644
--- a/main/rfc1867.c
+++ b/main/rfc1867.c
@@ -696,8 +696,10 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
{
char *boundary, *s=NULL, *boundary_end = NULL, *start_arr=NULL, *array_index=NULL;
char *temp_filename=NULL, *lbuf=NULL, *abuf=NULL;
- int boundary_len=0, total_bytes=0, cancel_upload=0, is_arr_upload=0, array_len=0, max_file_size=0, skip_upload=0, str_len=0, anonindex=0, is_anonymous;
- zval *http_post_files=NULL;
+ int boundary_len=0, total_bytes=0, cancel_upload=0, is_arr_upload=0, array_len=0, max_file_size=0, skip_upload=0, anonindex=0, is_anonymous; zval *http_post_files=NULL;
+#if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING)
+ int str_len=0
+#endif
zend_bool magic_quotes_gpc;
multipart_buffer *mbuff;
zval *array_ptr = (zval *) arg;