summaryrefslogtreecommitdiff
path: root/sapi/phttpd/phttpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/phttpd/phttpd.c')
-rw-r--r--sapi/phttpd/phttpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phttpd/phttpd.c b/sapi/phttpd/phttpd.c
index f7d46da7ce..dcd94a38e9 100644
--- a/sapi/phttpd/phttpd.c
+++ b/sapi/phttpd/phttpd.c
@@ -259,7 +259,7 @@ int php_doit(TSRMLS_D TSRMLS_DC)
return -1;
}
- Z_TYPE(file_handle) = ZEND_HANDLE_FILENAME;
+ file_handle.type = ZEND_HANDLE_FILENAME;
file_handle.filename = SG(request_info).path_translated;
file_handle.free_filename = 0;