cvs: php4(PHP_4_2_0) /sapi/apache2filter sapi_apache2.c

From: Date: Thu, 11 Apr 2002 17:18:52 +0000
Subject: cvs: php4(PHP_4_2_0) /sapi/apache2filter sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11044@lists.php.net to get a copy of this message
aaron Thu Apr 11 13:18:52 2002 EDT Modified files: (Branch: PHP_4_2_0) /php4/sapi/apache2filter sapi_apache2.c Log: Return the number of bytes consumed, not the number of bytes left. Suggested by: Brian Havard <brianh@kheldar.apana.org.au> Index: php4/sapi/apache2filter/sapi_apache2.c diff -u php4/sapi/apache2filter/sapi_apache2.c:1.61.2.4 php4/sapi/apache2filter/sapi_apache2.c:1.61.2.5 --- php4/sapi/apache2filter/sapi_apache2.c:1.61.2.4 Thu Apr 11 02:04:21 2002 +++ php4/sapi/apache2filter/sapi_apache2.c Thu Apr 11 13:18:48 2002 @@ -72,7 +72,7 @@ php_handle_aborted_connection(); } - return 0; /* we wrote everything, we promise! */ + return str_length; /* we always consume all the data passed to us. */ } static int

« previous php.cvs (#11044) next »