Initialize the struct url_stat at the beginning of fetchStatFTP().

This commit is contained in:
Dag-Erling Smørgrav 2000-05-15 08:24:58 +00:00
parent f8f4130b77
commit 0669702c01
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60582

View File

@ -532,6 +532,9 @@ fetchStatFTP(struct url *url, struct url_stat *us, char *flags)
time_t t;
int e, cd;
us->size = -1;
us->atime = us->mtime = 0;
/* connect to server */
if ((cd = _ftp_cached_connect(url, flags)) == NULL)
return -1;