[svn] Propagate the result of ftp_retrieve_glob to the caller of ftp_loop.

Published in <sxssn663zwl.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2002-04-08 09:43:36 -07:00
parent 198eac4882
commit 07d72c3cd3
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-04-08 Hrvoje Niksic <hniksic@arsdigita.com>
* ftp.c (ftp_loop): Propagate the result of ftp_retrieve_glob.
2002-03-26 Ian Abbott <abbotti@mev.co.uk>
* Makefile.in: Updated several dependencies for object files.

View File

@ -1688,8 +1688,8 @@ ftp_loop (struct url *u, int *dt)
/* ftp_retrieve_glob is a catch-all function that gets called
if we need globbing, time-stamping or recursion. Its
third argument is just what we really need. */
ftp_retrieve_glob (u, &con,
(opt.ftp_glob && wild) ? GLOBALL : GETONE);
res = ftp_retrieve_glob (u, &con,
(opt.ftp_glob && wild) ? GLOBALL : GETONE);
}
else
res = ftp_loop_internal (u, NULL, &con);