summaryrefslogtreecommitdiff
path: root/ext/standard/http_fopen_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-03-17 22:50:59 +0000
committerWez Furlong <wez@php.net>2002-03-17 22:50:59 +0000
commitd2d8762267de33b954363189b4ec710e70527a2a (patch)
treeeb1a94dcc817decc20651b5999ccf3ea7699aadc /ext/standard/http_fopen_wrapper.c
parent19e82a49f96393a7ae93331db73ef895f3c61376 (diff)
downloadphp-git-d2d8762267de33b954363189b4ec710e70527a2a.tar.gz
Streams now make more use of the memory manager, so tracking down
leaking streams should be easier. # I hate these big commits
Diffstat (limited to 'ext/standard/http_fopen_wrapper.c')
-rw-r--r--ext/standard/http_fopen_wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c
index 9cada1fb52..c5e5e3c037 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -71,7 +71,7 @@
#define HTTP_HEADER_BLOCK_SIZE 1024
-php_stream *php_stream_url_wrap_http(char *path, char *mode, int options, char **opened_path TSRMLS_DC)
+php_stream *php_stream_url_wrap_http(char *path, char *mode, int options, char **opened_path STREAMS_DC)
{
php_stream *stream = NULL;
php_url *resource = NULL;
@@ -268,7 +268,7 @@ php_stream *php_stream_url_wrap_http(char *path, char *mode, int options, char *
else {
strlcpy(new_path, location, sizeof(new_path));
}
- stream = php_stream_url_wrap_http(new_path, mode, options, opened_path TSRMLS_CC);
+ stream = php_stream_url_wrap_http(new_path, mode, options, opened_path STREAMS_CC);
if (stream->wrapperdata) {
entryp = &entry;
MAKE_STD_ZVAL(entry);