summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/apache2filter/README2
-rw-r--r--sapi/apache2filter/sapi_apache2.c2
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) {