summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-02-28 14:19:15 +0000
committerSascha Schumann <sas@php.net>2001-02-28 14:19:15 +0000
commit2da359bb84fe165be4bde5bb14528a34d02beeea (patch)
treef6252662204cf74253f438461d3030b2b253d8ff
parenta824c87e6dae4514aca0979a9976aa9f77629533 (diff)
downloadphp-git-2da359bb84fe165be4bde5bb14528a34d02beeea.tar.gz
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.
-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) {