summaryrefslogtreecommitdiff
path: root/sapi/servlet/servlet.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-31 07:09:49 +0000
committerZeev Suraski <zeev@php.net>2001-07-31 07:09:49 +0000
commitb1de7fc900766b229f17bf9e1020b5a67b5b0964 (patch)
treec405a417de3fdafcd98ad8db882b770e96e70d90 /sapi/servlet/servlet.c
parentbc42c37513a730b0b3ff9cf29e14e45e4ec50c71 (diff)
downloadphp-git-b1de7fc900766b229f17bf9e1020b5a67b5b0964.tar.gz
More TSRMLS_FETCH annihilation. Enough for today...
Diffstat (limited to 'sapi/servlet/servlet.c')
-rw-r--r--sapi/servlet/servlet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c
index a8ecd3a8d9..dda106fe4a 100644
--- a/sapi/servlet/servlet.c
+++ b/sapi/servlet/servlet.c
@@ -348,7 +348,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send
*/
SETSTRING( SG(request_info).path_translated, pathTranslated );
#ifdef VIRTUAL_DIR
- retval = php_fopen_primary_script(&file_handle);
+ retval = php_fopen_primary_script(&file_handle TSRMLS_CC);
#else
/*
* The java runtime doesn't like the working directory to be
@@ -356,7 +356,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send
* in the hopes that Java doesn't notice.
*/
getcwd(cwd,MAXPATHLEN);
- retval = php_fopen_primary_script(&file_handle);
+ retval = php_fopen_primary_script(&file_handle TSRMLS_CC);
chdir(cwd);
#endif