cvs: php4 /sapi/thttpd thttpd.c

From: Date: Thu, 01 May 2003 20:49:43 +0000
Subject: cvs: php4 /sapi/thttpd thttpd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20627@lists.php.net to get a copy of this message
sas Thu May 1 16:49:43 2003 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: cleanup Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.83 php4/sapi/thttpd/thttpd.c:1.84 --- php4/sapi/thttpd/thttpd.c:1.83 Wed Apr 16 09:37:34 2003 +++ php4/sapi/thttpd/thttpd.c Thu May 1 16:49:42 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: thttpd.c,v 1.83 2003/04/16 13:37:34 sas Exp $ */ +/* $Id: thttpd.c,v 1.84 2003/05/01 20:49:42 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 (#20627) next »