From: hniksic Date: Mon, 8 Apr 2002 16:43:36 +0000 (-0700) Subject: [svn] Propagate the result of ftp_retrieve_glob to the caller of ftp_loop. X-Git-Tag: v1.13~1825 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=07d72c3cd3db78e66cb4b07895ebf69c6dd094b3 [svn] Propagate the result of ftp_retrieve_glob to the caller of ftp_loop. Published in . --- diff --git a/src/ChangeLog b/src/ChangeLog index 7777b28c..cbaf8c44 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-04-08 Hrvoje Niksic + + * ftp.c (ftp_loop): Propagate the result of ftp_retrieve_glob. + 2002-03-26 Ian Abbott * Makefile.in: Updated several dependencies for object files. diff --git a/src/ftp.c b/src/ftp.c index e02c018b..b45a7b52 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -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);