]> granicus.if.org Git - php/commitdiff
compile before commit (gah!)
authorWez Furlong <wez@php.net>
Mon, 18 Jul 2005 14:12:52 +0000 (14:12 +0000)
committerWez Furlong <wez@php.net>
Mon, 18 Jul 2005 14:12:52 +0000 (14:12 +0000)
main/streams/plain_wrapper.c

index 919382aa3c680b07fd11e7d7fe6294b44b88d16a..daeea46753b30c7b52f751db8f202a6d290807f8 100644 (file)
@@ -211,7 +211,7 @@ PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const cha
 #ifdef ESPIPE
                        if (stream->position == (off_t)-1 && errno == ESPIPE) {
                                stream->position = 0;
-                               stream->is_pipe = 1;
+                               self->is_pipe = 1;
                        }
 #endif
                }