]> sjero.net Git - wget/commitdiff
[svn] Propagate the result of ftp_retrieve_glob to the caller of ftp_loop.
authorhniksic <devnull@localhost>
Mon, 8 Apr 2002 16:43:36 +0000 (09:43 -0700)
committerhniksic <devnull@localhost>
Mon, 8 Apr 2002 16:43:36 +0000 (09:43 -0700)
Published in <sxssn663zwl.fsf@florida.arsdigita.de>.

src/ChangeLog
src/ftp.c

index 7777b28ce727b126e7bf4a387fcc5b57fe387111..cbaf8c44acb7ff12ab305fc8f4bd7356f35f8d08 100644 (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.
index e02c018b8478daa89ccaa8af299f54b0123ef66e..b45a7b52b4e4395da3ed34e996e42bf43bfa029e 100644 (file)
--- 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);