diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-31 06:28:05 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-31 06:28:05 +0000 |
| commit | bc42c37513a730b0b3ff9cf29e14e45e4ec50c71 (patch) | |
| tree | c4857143995f88a04e3f9d56cb5f8d757fa07575 /ext/standard/head.c | |
| parent | 0b7fdbb690b0270d13266a83521d1fd03e2c270c (diff) | |
| download | php-git-bc42c37513a730b0b3ff9cf29e14e45e4ec50c71.tar.gz | |
More TSRMLS_FETCH work. Got it under 400 now.
Diffstat (limited to 'ext/standard/head.c')
| -rw-r--r-- | ext/standard/head.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c index b4df2645ff..8a35627cfa 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -53,7 +53,7 @@ PHP_FUNCTION(header) case 1: convert_to_string_ex(arg1); } - sapi_add_header_ex(Z_STRVAL_PP(arg1), Z_STRLEN_PP(arg1), 1, replace); + sapi_add_header_ex(Z_STRVAL_PP(arg1), Z_STRLEN_PP(arg1), 1, replace TSRMLS_CC); } /* }}} */ @@ -61,7 +61,7 @@ PHPAPI int php_header() { TSRMLS_FETCH(); - if (sapi_send_headers()==FAILURE || SG(request_info).headers_only) { + if (sapi_send_headers(TSRMLS_C)==FAILURE || SG(request_info).headers_only) { return 0; /* don't allow output */ } else { return 1; /* allow output */ |
