summaryrefslogtreecommitdiff
path: root/ext/standard/http_fopen_wrapper.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-09-28 22:14:21 +0000
committerWez Furlong <wez@php.net>2002-09-28 22:14:21 +0000
commit76947703049259678c391dd69d072d0df56f5977 (patch)
tree713490ede3352a0f10182254cbe13d7c96d6e85d /ext/standard/http_fopen_wrapper.c
parent9509c209417af7726813c19a99adca37d4158662 (diff)
downloadphp-git-76947703049259678c391dd69d072d0df56f5977.tar.gz
Rename streams functions to fit with naming conventions, adding aliases
for old functions where required. Make use of recent changes to chunk size and timeout setting code.
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 ba1858696f..20e6b23ec2 100644
--- a/ext/standard/http_fopen_wrapper.c
+++ b/ext/standard/http_fopen_wrapper.c
@@ -124,7 +124,7 @@ php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, ch
/* avoid buffering issues while reading header */
if (options & STREAM_WILL_CAST)
- chunk_size = php_stream_sock_set_chunk_size(stream, 1 TSRMLS_CC);
+ chunk_size = php_stream_set_chunk_size(stream, 1);
php_stream_context_set(stream, context);
@@ -389,7 +389,7 @@ out:
stream->wrapperdata = response_header;
php_stream_notify_progress_init(context, 0, file_size);
if (options & STREAM_WILL_CAST)
- php_stream_sock_set_chunk_size(stream, chunk_size TSRMLS_CC);
+ php_stream_set_chunk_size(stream, chunk_size);
/* as far as streams are concerned, we are now at the start of
* the stream */
stream->position = 0;