]> granicus.if.org Git - php/commitdiff
#uups commit on wrong file
authorMarcus Boerger <helly@php.net>
Thu, 21 Mar 2002 12:55:37 +0000 (12:55 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 21 Mar 2002 12:55:37 +0000 (12:55 +0000)
main/memory_streams.c

index a9ea5193be60bd7a88a658cc143ac54a5250f1ed..92540a29df7da5be6bfff4f6999aff86c339e69f 100644 (file)
@@ -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;
                }
        }