diff --git a/sapi/apache2filter/README b/sapi/apache2filter/README index 0d4e74b259f..f2b0a0097d5 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 1a7a09413d9..b915f06e9af 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) {