# HG changeset patch # User ramiro # Date 1186709966 0 # Node ID 824b8284ce1aafe7a941c9d38b5cf2f7f74ae478 # Parent 5f8354bc9c33df8fcfa6b8253b5a3827aa591aec 10l: removed pipe_close instead of pipe_read diff -r 5f8354bc9c33 -r 824b8284ce1a file.c --- a/file.c Fri Aug 10 00:13:50 2007 +0000 +++ b/file.c Fri Aug 10 01:39:26 2007 +0000 @@ -104,10 +104,9 @@ return 0; } -static int pipe_read(URLContext *h, unsigned char *buf, int size) +static int pipe_close(URLContext *h) { - int fd = (size_t)h->priv_data; - return read(fd, buf, size); + return 0; } URLProtocol pipe_protocol = {