summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-08-05 15:29:47 +0000
committerSascha Schumann <sas@php.net>2001-08-05 15:29:47 +0000
commit8aef1930565d36807647e52b5e5b7c4e3f4a57b1 (patch)
treeb5aedc9051d566b1bcf94fef22e5d2798b33a7ea /sapi/apache/mod_php4.c
parent02fea7ed2358518441637a1fbe5113bc4f92dd9d (diff)
downloadphp-git-8aef1930565d36807647e52b5e5b7c4e3f4a57b1.tar.gz
more tsrm cleanup
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 4265f4aa6a..1321c5cb1b 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -124,10 +124,9 @@ void php_save_umask(void)
/* {{{ sapi_apache_ub_write
*/
-static int sapi_apache_ub_write(const char *str, uint str_length)
+static int sapi_apache_ub_write(const char *str, uint str_length TSRMLS_DC)
{
int ret=0;
- TSRMLS_FETCH();
if (SG(server_context)) {
ret = rwrite(str, str_length, (request_rec *) SG(server_context));
@@ -311,7 +310,7 @@ static void php_apache_request_shutdown(void *dummy)
{
TSRMLS_FETCH();
- php_output_set_status(0);
+ php_output_set_status(0 TSRMLS_CC);
SG(server_context) = NULL; /* The server context (request) is invalid by the time run_cleanups() is called */
if (AP(in_request)) {
AP(in_request) = 0;