Browse Source

always check if output is ok after php3_header()

PHP-4.0.5
Uwe Steinmann 26 years ago
parent
commit
7af301be55
  1. 4
      ext/hyperwave/hw.c

4
ext/hyperwave/hw.c

@ -2513,8 +2513,8 @@ PHP_FUNCTION(hw_output_document) {
RETURN_FALSE;
}
php3_header();
php3_write(ptr->data, ptr->size);
if(php3_header())
php3_write(ptr->data, ptr->size);
RETURN_TRUE;
}

Loading…
Cancel
Save