From: Sascha Schumann Date: Wed, 28 Feb 2001 14:19:15 +0000 (+0000) Subject: httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces X-Git-Tag: php-4.0.5RC1~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2da359bb84fe165be4bde5bb14528a34d02beeea;p=php httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces and the header filter still seems to be broken. Will try later. --- diff --git a/sapi/apache2filter/README b/sapi/apache2filter/README index 0d4e74b259..f2b0a0097d 100644 --- a/sapi/apache2filter/README +++ b/sapi/apache2filter/README @@ -1,6 +1,6 @@ WHAT IS THIS? - It is an output filter for Apache 2.0. + This module exploits the layered I/O support in Apache 2.0. HOW DOES IT WORK? diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 1a7a09413d..b915f06e9a 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -54,7 +54,7 @@ php_apache_sapi_ub_write(const char *str, uint str_length) ctx = SG(server_context); - if (!str_length) return 0; + if (str_length == 0) return 0; bb = apr_brigade_create(ctx->f->r->pool); while (str_length > 0) {