diff options
| author | Reeze Xia <reeze@php.net> | 2015-03-08 19:24:50 +0800 |
|---|---|---|
| committer | Reeze Xia <reeze@php.net> | 2015-03-08 19:25:55 +0800 |
| commit | 609f05fc19864384fe03a4b97ad263cc0aaf32a0 (patch) | |
| tree | 0639ad2ab04698e5f7187ab2b068f5c88286b1cf /main/streams/memory.c | |
| parent | 0cb869d908ab0427ede6596009176c22b43a2aae (diff) | |
| download | php-git-609f05fc19864384fe03a4b97ad263cc0aaf32a0.tar.gz | |
ZTS cleanup
Diffstat (limited to 'main/streams/memory.c')
| -rw-r--r-- | main/streams/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/memory.c b/main/streams/memory.c index 9a9b11fe07..9efd1f10ac 100644 --- a/main/streams/memory.c +++ b/main/streams/memory.c @@ -376,7 +376,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_temporary_file(ts->tmpdir, "php", NULL); if (file == NULL) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to create temporary file, Check permissions in temporary files directory."); + php_error_docref(NULL, E_WARNING, "Unable to create temporary file, Check permissions in temporary files directory."); return 0; } php_stream_write(file, membuf, memsize); |
