From 2da359bb84fe165be4bde5bb14528a34d02beeea Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Wed, 28 Feb 2001 14:19:15 +0000 Subject: [PATCH] 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. --- sapi/apache2filter/README | 2 +- sapi/apache2filter/sapi_apache2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.50.1