iliaa Mon Aug 4 21:01:40 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/main rfc1867.c
Log:
MFH: remove useless variable when mbstring is not used.
Index: php-src/main/rfc1867.c
diff -u php-src/main/rfc1867.c:1.122.2.11 php-src/main/rfc1867.c:1.122.2.12
--- php-src/main/rfc1867.c:1.122.2.11 Sat Jun 28 04:51:05 2003
+++ php-src/main/rfc1867.c Mon Aug 4 21:01:40 2003
@@ -16,7 +16,7 @@
| Jani Taskinen <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: rfc1867.c,v 1.122.2.11 2003/06/28 08:51:05 hirokawa Exp $ */
+/* $Id: rfc1867.c,v 1.122.2.12 2003/08/05 01:01:40 iliaa Exp $ */
/*
* This product includes software developed by the Apache Group
@@ -692,13 +692,16 @@
{
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;
+ int boundary_len=0, total_bytes=0, cancel_upload=0, is_arr_upload=0,
array_len=0, max_file_size=0, skip_upload=0;
zval *http_post_files=NULL;
zend_bool magic_quotes_gpc;
multipart_buffer *mbuff;
zval *array_ptr = (zval *) arg;
FILE *fp;
zend_llist header;
+#if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING)
+ int str_len=0;
+#endif
if (SG(request_info).content_length > SG(post_max_size)) {
sapi_module.sapi_error(E_WARNING, "POST Content-Length of %d bytes
exceeds the limit of %d bytes", SG(request_info).content_length, SG(post_max_size));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php