aboutsummaryrefslogtreecommitdiff
path: root/lib/libfetch/ftp.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2001-06-11 14:12:46 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2001-06-11 14:12:46 +0000
commit9e2a792c46c6dee96e1ac26377261604e14d13b0 (patch)
tree20728856dbea35f7aa9eee88d2128ca7f26fe1e0 /lib/libfetch/ftp.c
parente1d071dbfd4dcb74b363b1240fc128096c90e0e0 (diff)
Notes
Diffstat (limited to 'lib/libfetch/ftp.c')
-rw-r--r--lib/libfetch/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c
index ff7bf863c43c..f1ffbf2dda0a 100644
--- a/lib/libfetch/ftp.c
+++ b/lib/libfetch/ftp.c
@@ -349,7 +349,7 @@ _ftp_readfn(void *v, char *buf, int len)
return r;
if (r == 0) {
io->eof = 1;
- return _ftp_closefn(v);
+ return 0;
}
if (errno != EINTR)
io->err = errno;