diff options
author | Thies C. Arntzen <thies@php.net> | 2001-02-15 14:49:01 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2001-02-15 14:49:01 +0000 |
commit | 8499b430cff13387bc2f6232f184db506cefe52f (patch) | |
tree | c0f900041ef36296dbe738aa6dbfa7473c738a8b /ext/pdf | |
parent | 5ca813a5649bf59c2eee599f7c423a44d19e5cf4 (diff) | |
download | php-git-8499b430cff13387bc2f6232f184db506cefe52f.tar.gz |
@- Fixed some modules to allow using output-buffering. (Thies)
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.
NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
Diffstat (limited to 'ext/pdf')
-rw-r--r-- | ext/pdf/pdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index b42227355d..c8bc728301 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -250,7 +250,7 @@ static void pdf_efree(PDF *p, void *mem) static size_t pdf_flushwrite(PDF *p, void *data, size_t size) { - if(php_header()) return(php_write(data, size)); + return(php_write(data, size)); return 0; } |