summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-10-03 01:28:04 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-10-03 01:28:04 +0000
commit01830c0d272d321752a60e81245f8098d0d279b3 (patch)
treeccd85dc83580f1df5956dd28d91591af40680e1b
parent8babbff1f7629f55e8e4f5372e342acd735d915c (diff)
downloadphp-git-01830c0d272d321752a60e81245f8098d0d279b3.tar.gz
Added missing TSRMLS_DC to php_apache_lookup_uri()
-rw-r--r--sapi/apache2filter/php_functions.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/apache2filter/php_functions.c b/sapi/apache2filter/php_functions.c
index 8027f8e5b4..2e4f014564 100644
--- a/sapi/apache2filter/php_functions.c
+++ b/sapi/apache2filter/php_functions.c
@@ -35,7 +35,7 @@
#include "php_apache.h"
-static request_rec *php_apache_lookup_uri(char *filename)
+static request_rec *php_apache_lookup_uri(char *filename TSRMLS_DC)
{
php_struct *ctx;
@@ -60,7 +60,7 @@ PHP_FUNCTION(virtual)
convert_to_string_ex(filename);
- if (!(rr = php_apache_lookup_uri(Z_STRVAL_PP(filename)))) {
+ if (!(rr = php_apache_lookup_uri(Z_STRVAL_PP(filename) TSRMLS_CC))) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to include '%s' - URI lookup failed", Z_STRVAL_PP(filename));
RETURN_FALSE;
}
@@ -98,7 +98,7 @@ PHP_FUNCTION(apache_lookup_uri)
convert_to_string_ex(filename);
- if (!(rr = php_apache_lookup_uri(Z_STRVAL_PP(filename)))) {
+ if (!(rr = php_apache_lookup_uri(Z_STRVAL_PP(filename) TSRMLS_CC))) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to include '%s' - URI lookup failed", Z_STRVAL_PP(filename));
RETURN_FALSE;
}