]> granicus.if.org Git - php/commitdiff
httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces
authorSascha Schumann <sas@php.net>
Wed, 28 Feb 2001 14:19:15 +0000 (14:19 +0000)
committerSascha Schumann <sas@php.net>
Wed, 28 Feb 2001 14:19:15 +0000 (14:19 +0000)
and the header filter still seems to be broken.  Will try later.

sapi/apache2filter/README
sapi/apache2filter/sapi_apache2.c

index 0d4e74b259fd009e82d9aa2e87ad88fbfbb6282a..f2b0a0097d5bf1c040361d1d3e56241e586e4fa9 100644 (file)
@@ -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?
     
index 1a7a09413d9be3a1e4c7288d67f82378bef6dd79..b915f06e9af7751977d95da6ed3ebf3dad357608 100644 (file)
@@ -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) {