summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-31 04:53:54 +0000
committerZeev Suraski <zeev@php.net>2001-07-31 04:53:54 +0000
commitd76cf1da183f79711d7699a2ff85f743da3f9dd2 (patch)
tree8342fd3406696bc32b81deb28d6771336fb6fe36 /main/SAPI.c
parent7bc71f442d7ddfecf43871b394c14100baa391b3 (diff)
downloadphp-git-d76cf1da183f79711d7699a2ff85f743da3f9dd2.tar.gz
More TSRMLS_FETCH work
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 618f16f140..08fa6afcc5 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -496,17 +496,17 @@ SAPI_API int sapi_send_headers()
http_status_line.header = SG(sapi_headers).http_status_line;
http_status_line.header_len = strlen(SG(sapi_headers).http_status_line);
- sapi_module.send_header(&http_status_line, SG(server_context));
+ sapi_module.send_header(&http_status_line, SG(server_context) TSRMLS_CC);
}
- zend_llist_apply_with_argument(&SG(sapi_headers).headers, (void (*)(void *, void *)) sapi_module.send_header, SG(server_context));
+ zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) sapi_module.send_header, SG(server_context) TSRMLS_CC);
if(SG(sapi_headers).send_default_content_type) {
sapi_header_struct default_header;
sapi_get_default_content_type_header(&default_header TSRMLS_CC);
- sapi_module.send_header(&default_header, SG(server_context));
+ sapi_module.send_header(&default_header, SG(server_context) TSRMLS_CC);
sapi_free_header(&default_header);
}
- sapi_module.send_header(NULL, SG(server_context));
+ sapi_module.send_header(NULL, SG(server_context) TSRMLS_CC);
ret = SUCCESS;
break;
case SAPI_HEADER_SEND_FAILED: