diff options
author | Zeev Suraski <zeev@php.net> | 2002-03-19 19:16:20 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2002-03-19 19:16:20 +0000 |
commit | a9411a6da26b1db439bb7111ef0d84ad3bb02464 (patch) | |
tree | 576ee78d218f1eb59ec25bc84f89a6294a601a29 /main/memory_streams.c | |
parent | dcb44bf51262ff3160a211b45aaf3510695dcee5 (diff) | |
download | php-git-a9411a6da26b1db439bb7111ef0d84ad3bb02464.tar.gz |
Possibly fix a crash - Marcus, please take a look at it...
Diffstat (limited to 'main/memory_streams.c')
-rw-r--r-- | main/memory_streams.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/memory_streams.c b/main/memory_streams.c index d27db784ca..579bd26cad 100644 --- a/main/memory_streams.c +++ b/main/memory_streams.c @@ -268,6 +268,7 @@ PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length ST assert(buf != NULL); php_stream_write(stream, buf, length); } + ms = stream->abstract; ms->mode = mode; } return stream; |