]> granicus.if.org Git - php/commitdiff
- fix php_output_handler_started()
authorMichael Wallner <mike@php.net>
Tue, 22 Aug 2006 09:56:24 +0000 (09:56 +0000)
committerMichael Wallner <mike@php.net>
Tue, 22 Aug 2006 09:56:24 +0000 (09:56 +0000)
main/output.c

index e0f5dede926b7bf502c353fd415f83e7d683ab17..c543ff865086f290beaf0a5a77413e241f7fb805 100644 (file)
@@ -578,7 +578,7 @@ PHPAPI int php_output_handler_started(zval *name TSRMLS_DC)
        int i, count = php_output_get_level(TSRMLS_C);
        
        if (count) {
-               handlers = (php_output_handler **) zend_stack_base(OG(handlers));
+               handlers = *(php_output_handler ***) zend_stack_base(OG(handlers));
                
                for (i = 0; i < count; ++i) {
                        if (!zend_binary_zval_strcmp(handlers[i]->name, name)) {