summaryrefslogtreecommitdiff
path: root/main/memory_streams.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-03-21 12:55:37 +0000
committerMarcus Boerger <helly@php.net>2002-03-21 12:55:37 +0000
commitf2ae5b70d9689d09b75b448b0f5fd46ae28acdbf (patch)
tree8f9e281fdc229ffd32149e9e89ad3559f3001d66 /main/memory_streams.c
parenta598e0b73f5d360128e389a23d0e10ec85d6845d (diff)
downloadphp-git-f2ae5b70d9689d09b75b448b0f5fd46ae28acdbf.tar.gz
#uups commit on wrong file
Diffstat (limited to 'main/memory_streams.c')
-rw-r--r--main/memory_streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/memory_streams.c b/main/memory_streams.c
index a9ea5193be..92540a29df 100644
--- a/main/memory_streams.c
+++ b/main/memory_streams.c
@@ -318,7 +318,7 @@ static size_t php_stream_temp_write(php_stream *stream, const char *buf, size_t
if (memsize + count >= ts->smax) {
php_stream *file = php_stream_fopen_tmpfile();
php_stream_write(file, membuf, memsize);
- php_stream_memory_close(ts->innerstream);
+ php_stream_close(ts->innerstream);
ts->innerstream = file;
}
}