summaryrefslogtreecommitdiff
path: root/sapi/tux/php_tux.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/tux/php_tux.c')
-rw-r--r--sapi/tux/php_tux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/tux/php_tux.c b/sapi/tux/php_tux.c
index 48fb84c86e..8aa9e51a1f 100644
--- a/sapi/tux/php_tux.c
+++ b/sapi/tux/php_tux.c
@@ -275,7 +275,7 @@ static void tux_module_main(TSRMLS_D)
{
zend_file_handle file_handle;
- file_handle.type = ZEND_HANDLE_FILENAME;
+ Z_TYPE(file_handle) = ZEND_HANDLE_FILENAME;
file_handle.filename = SG(request_info).path_translated;
file_handle.free_filename = 0;
file_handle.opened_path = NULL;