summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/sapi_apache.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-12-10 20:16:30 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-12-10 20:16:30 +0000
commit60a5aeef437893ad35ec1a16de46565f36b7038f (patch)
tree2229e74897c90aefe743a73e4b072246ace6bcd6 /sapi/apache_hooks/sapi_apache.c
parentd1c70a64175dac6030ba4fc6b6bfe569ec6dd8f6 (diff)
downloadphp-git-60a5aeef437893ad35ec1a16de46565f36b7038f.tar.gz
Fixed a few compile warnings and one compile error.
Diffstat (limited to 'sapi/apache_hooks/sapi_apache.c')
-rw-r--r--sapi/apache_hooks/sapi_apache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/apache_hooks/sapi_apache.c b/sapi/apache_hooks/sapi_apache.c
index 5991ad8d39..7e7a1acd60 100644
--- a/sapi/apache_hooks/sapi_apache.c
+++ b/sapi/apache_hooks/sapi_apache.c
@@ -105,8 +105,8 @@ int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRM
ZVAL_STRING(method, tmp +2, 1);
*tmp = ':';
call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC);
- zval_dtor(&class);
- zval_dtor(&method);
+ zval_dtor(class);
+ zval_dtor(method);
}
else {
php_error(E_ERROR, "Unable to call %s - not a Class::Method\n", handler->name);
@@ -118,7 +118,7 @@ int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRM
assert(0);
break;
}
- zval_dtor(&req);
+ zval_dtor(req);
AP(in_request) = 0;
return OK;