Don't close a FILE * which we know is bogus.
This commit is contained in:
parent
56896e3e65
commit
8af1bcf602
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user