From c03328857394bef36ffa9678d33079ad96e4a4e4 Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Tue, 25 Sep 2001 21:58:48 +0000 Subject: Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. --- sapi/thttpd/thttpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/thttpd') 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; -- cgit v1.2.1