summaryrefslogtreecommitdiff
path: root/ext/hyperwave/hw.c
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-02-15 14:49:01 +0000
committerThies C. Arntzen <thies@php.net>2001-02-15 14:49:01 +0000
commit8499b430cff13387bc2f6232f184db506cefe52f (patch)
treec0f900041ef36296dbe738aa6dbfa7473c738a8b /ext/hyperwave/hw.c
parent5ca813a5649bf59c2eee599f7c423a44d19e5cf4 (diff)
downloadphp-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/hyperwave/hw.c')
-rw-r--r--ext/hyperwave/hw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index 12f4b195ca..39e5b06be0 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -2766,8 +2766,7 @@ PHP_FUNCTION(hw_output_document) {
RETURN_FALSE;
}
- if(php_header())
- php_write(ptr->data, ptr->size);
+ php_write(ptr->data, ptr->size);
RETURN_TRUE;
}