From b9af8f271921ff5920b106844b4f6761f4b6e8b0 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 6 Dec 2005 01:14:02 +0000 Subject: MFH: nuke php3 legacy --- sapi/apache_hooks/php_apache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sapi/apache_hooks/php_apache.c') diff --git a/sapi/apache_hooks/php_apache.c b/sapi/apache_hooks/php_apache.c index f65e31c41f..590707d4cc 100644 --- a/sapi/apache_hooks/php_apache.c +++ b/sapi/apache_hooks/php_apache.c @@ -105,7 +105,7 @@ static void php_apache_request_free(zend_rsrc_list_entry *rsrc TSRMLS_DC) zval_ptr_dtor(&z); } -static request_rec *get_apache_request(pval *z TSRMLS_DC) +static request_rec *get_apache_request(zval *z TSRMLS_DC) { request_rec *r; zval **addr; @@ -1711,7 +1711,7 @@ PHP_MINFO_FUNCTION(apache) */ PHP_FUNCTION(virtual) { - pval **filename; + zval **filename; request_rec *rr = NULL; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &filename) == FAILURE) { @@ -1818,7 +1818,7 @@ PHP_FUNCTION(apache_setenv) Perform a partial request of the given URI to obtain information about it */ PHP_FUNCTION(apache_lookup_uri) { - pval **filename; + zval **filename; request_rec *rr=NULL; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &filename) == FAILURE) { @@ -1892,7 +1892,7 @@ This function is most likely a bad idea. Just playing with it for now. PHP_FUNCTION(apache_exec_uri) { - pval **filename; + zval **filename; request_rec *rr=NULL; TSRMLS_FETCH(); -- cgit v1.2.1