]> granicus.if.org Git - php/commitdiff
MFB fix for #25597
authorWez Furlong <wez@php.net>
Sat, 20 Dec 2003 20:25:55 +0000 (20:25 +0000)
committerWez Furlong <wez@php.net>
Sat, 20 Dec 2003 20:25:55 +0000 (20:25 +0000)
main/streams/transports.c

index 0f1b7914570fbbd0a9beafc4008243f3ab2107c3..bc93ee8a79074332287636c96d24f2f83c3f1daa 100644 (file)
@@ -78,7 +78,7 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int
                                        return stream;
                                }
                                /* dead - kill it */
-                               php_stream_close(stream);
+                               php_stream_pclose(stream);
                                stream = NULL;
 
                                /* fall through */