diff options
author | Wez Furlong <wez@php.net> | 2003-02-18 01:39:26 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2003-02-18 01:39:26 +0000 |
commit | 952d5f548ef2eb29620602f3d7663d0f4f8e3c2e (patch) | |
tree | 9fc00852826e007828b572573bf6495cb30b0b23 /main/streams | |
parent | abcd2363864885c4db7c0615e7ef0ae6fe43c5b8 (diff) | |
download | php-git-952d5f548ef2eb29620602f3d7663d0f4f8e3c2e.tar.gz |
TSRMLS!
Diffstat (limited to 'main/streams')
-rw-r--r-- | main/streams/filter.c | 2 | ||||
-rwxr-xr-x | main/streams/streams.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/main/streams/filter.c b/main/streams/filter.c index 529270571f..3d47f1bc70 100644 --- a/main/streams/filter.c +++ b/main/streams/filter.c @@ -110,7 +110,7 @@ PHPAPI php_stream_bucket *php_stream_bucket_make_writeable(php_stream_bucket *bu retval->refcount = 1; retval->own_buf = 1; - php_stream_bucket_delref(bucket); + php_stream_bucket_delref(bucket TSRMLS_CC); return retval; } diff --git a/main/streams/streams.c b/main/streams/streams.c index ee33cdefed..bb72a4f801 100755 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -311,10 +311,10 @@ fprintf(stderr, "stream_free: %s:%p[%s] preserve_handle=%d release_cast=%d remov if (close_options & PHP_STREAM_FREE_RELEASE_STREAM) { while (stream->readfilters.head) { - php_stream_filter_remove(stream->readfilters.head, 1); + php_stream_filter_remove(stream->readfilters.head, 1 TSRMLS_CC); } while (stream->writefilters.head) { - php_stream_filter_remove(stream->writefilters.head, 1); + php_stream_filter_remove(stream->writefilters.head, 1 TSRMLS_CC); } if (stream->wrapper && stream->wrapper->wops && stream->wrapper->wops->stream_closer) { @@ -388,7 +388,7 @@ static void php_stream_fill_read_buffer(php_stream *stream, size_t size TSRMLS_D bucket = php_stream_bucket_new(stream, chunk_buf, justread, 0, 0 TSRMLS_CC); /* after this call, bucket is owned by the brigade */ - php_stream_bucket_append(brig_inp, bucket); + php_stream_bucket_append(brig_inp, bucket TSRMLS_CC); flags = PSFS_FLAG_NORMAL; } else { @@ -845,7 +845,7 @@ static size_t _php_stream_write_filtered(php_stream *stream, const char *buf, si if (buf) { bucket = php_stream_bucket_new(stream, (char *)buf, count, 0, 0 TSRMLS_CC); - php_stream_bucket_append(&brig_in, bucket); + php_stream_bucket_append(&brig_in, bucket TSRMLS_CC); } for (filter = stream->writefilters.head; filter; filter = filter->next) { |