cvs: php4(PHP_4_3) /sapi/thttpd thttpd.c

From: Date: Thu, 01 May 2003 20:50:26 +0000
Subject: cvs: php4(PHP_4_3) /sapi/thttpd thttpd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20629@lists.php.net to get a copy of this message
sas Thu May 1 16:50:26 2003 EDT Modified files: (Branch: PHP_4_3) /php4/sapi/thttpd thttpd.c Log: cleanup Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.77.2.5 php4/sapi/thttpd/thttpd.c:1.77.2.6 --- php4/sapi/thttpd/thttpd.c:1.77.2.5 Wed Apr 16 09:37:54 2003 +++ php4/sapi/thttpd/thttpd.c Thu May 1 16:50:26 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: thttpd.c,v 1.77.2.5 2003/04/16 13:37:54 sas Exp $ */ +/* $Id: thttpd.c,v 1.77.2.6 2003/05/01 20:50:26 sas Exp $ */ #include "php.h" #include "SAPI.h" @@ -222,9 +222,8 @@ static int sapi_thttpd_read_post(char *buffer, uint count_bytes TSRMLS_DC) { - size_t read_bytes = 0, tmp; + size_t read_bytes = 0; int c; - int n; c = SIZEOF_UNCONSUMED_BYTES(); if (c > 0) { @@ -251,7 +250,6 @@ { char buf[BUF_SIZE + 1]; char *p; - int xsa_len; php_register_variable("PHP_SELF", SG(request_info).request_uri, track_vars_array TSRMLS_CC); php_register_variable("SERVER_SOFTWARE", SERVER_SOFTWARE, track_vars_array TSRMLS_CC); @@ -636,8 +634,6 @@ if (hc->contentlength > 0 && SIZEOF_UNCONSUMED_BYTES() < hc->contentlength) { - int missing = hc->contentlength - SIZEOF_UNCONSUMED_BYTES(); - hc->read_body_into_mem = 1; return 0; }

« previous php.cvs (#20629) next »