summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-08-29 15:54:12 +0000
committerdes <des@FreeBSD.org>2003-08-29 15:54:12 +0000
commit8af1bcf602e5f8c05ff116192f9019e6a2f67146 (patch)
tree39b66b00d471706a146e3557f1f80deeec84d7c5 /lib
parent56896e3e65ebd61c98b06080b1b8fa6aa425d0ca (diff)
downloadFreeBSD-src-8af1bcf602e5f8c05ff116192f9019e6a2f67146.zip
FreeBSD-src-8af1bcf602e5f8c05ff116192f9019e6a2f67146.tar.gz
Don't close a FILE * which we know is bogus.
Diffstat (limited to 'lib')
-rw-r--r--lib/libfetch/ftp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c
index f21aac4..6d7a81c 100644
--- a/lib/libfetch/ftp.c
+++ b/lib/libfetch/ftp.c
@@ -1006,7 +1006,6 @@ fetchStatFTP(struct url *url, struct url_stat *us, const char *flags)
f = _ftp_request(url, "STAT", us, _ftp_get_proxy(flags), flags);
if (f == NULL)
return (-1);
- fclose(f);
return (0);
}
OpenPOWER on IntegriCloud