Skip to content

Commit 6305213

Browse files
committed
MFH: make it compile on Win32
1 parent 04d0a78 commit 6305213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/streams.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,8 +1371,8 @@ PHPAPI php_stream *_php_stream_fopen_tmpfile(int dummy STREAMS_DC TSRMLS_DC)
13711371
if (fd != -1) {
13721372
php_stream *stream = php_stream_fopen_from_fd_rel(fd, "r+b", NULL);
13731373
if (stream) {
1374-
stream->wrapper = &php_plain_files_wrapper;
13751374
php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract;
1375+
stream->wrapper = &php_plain_files_wrapper;
13761376

13771377
self->temp_file_name = opened_path;
13781378
return stream;

0 commit comments

Comments
 (0)