cvs: php4 /main main.c

From: Date: Wed, 29 Nov 2000 01:02:27 +0000
Subject: cvs: php4 /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2815@lists.php.net to get a copy of this message
zeev Tue Nov 28 17:02:27 2000 EDT Modified files: /php4/main main.c Log: Output buffering was being enabled all the time - fixed Index: php4/main/main.c diff -u php4/main/main.c:1.342 php4/main/main.c:1.343 --- php4/main/main.c:1.342 Thu Nov 23 10:43:18 2000 +++ php4/main/main.c Tue Nov 28 17:02:27 2000 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.342 2000/11/23 18:43:18 zeev Exp $ */ +/* $Id: main.c,v 1.343 2000/11/29 01:02:27 zeev Exp $ */ #include <stdio.h> @@ -625,7 +625,7 @@ sapi_add_header(SAPI_PHP_VERSION_HEADER, sizeof(SAPI_PHP_VERSION_HEADER)-1, 1); } - if (PG(output_handler)) { + if (PG(output_handler) && PG(output_handler)[0]) { zval *output_handler; ALLOC_INIT_ZVAL(output_handler);

« previous php.cvs (#2815) next »