diff options
Diffstat (limited to 'sapi/thttpd')
| -rw-r--r-- | sapi/thttpd/thttpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c index ddb531a644..8226194f99 100644 --- a/sapi/thttpd/thttpd.c +++ b/sapi/thttpd/thttpd.c @@ -253,7 +253,7 @@ static void thttpd_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; |
