cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Aaron Bannert | Date: | Thu, 11 Apr 2002 17:22:11 +0000 |
| Subject: | cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11046@lists.php.net to get a copy of this message | ||
aaron Thu Apr 11 13:22:11 2002 EDT
Modified files:
/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.64 php4/sapi/apache2filter/sapi_apache2.c:1.65
--- php4/sapi/apache2filter/sapi_apache2.c:1.64 Thu Apr 11 02:01:54 2002
+++ php4/sapi/apache2filter/sapi_apache2.c Thu Apr 11 13:22:11 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