]> sjero.net Git - wget/commitdiff
[svn] ChangeLog tweak; initialize con to appease the access checker.
authorhniksic <devnull@localhost>
Sun, 11 Feb 2001 17:27:37 +0000 (09:27 -0800)
committerhniksic <devnull@localhost>
Sun, 11 Feb 2001 17:27:37 +0000 (09:27 -0800)
src/ChangeLog
src/ftp.c

index 3178b8aef0779f39c8499cbbbd622c953316adc0..963a663e1a65193afa1f5582bdfc96dc186e1b92 100644 (file)
@@ -1,10 +1,14 @@
+2001-02-11  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * ftp.c (ftp_loop): Reset con.
+
 2001-01-06  Jan Prikryl  <prikryl@cg.tuwien.ac.at>
 
        * url.c (parse_uname): Added support for passwords containing '@'
        characters.
        (skip_uname): Ditto.
 
-2001-02-11  Hack Kampbj\e-Aørn  <hack@hackdata.com>\e-B
+2001-02-11  Hack Kampbjørn  <hack@hackdata.com>
 
        * url.c (parseurl): Debug-print u->ftp_type.
 
@@ -28,6 +32,7 @@
 
        * retr.c (show_progress): Print the download rate along with the
        percentages.
+       Along with Anders Thorsby <anders@thorsby.dk>.
 
 2001-02-10  Tim Mooney  <mooney@dogbert.cc.ndsu.NoDak.edu>
 
index e85cc4beacb7a92be3cd047fa070bf31c8cfc524..767424fb508af5d50dfcfcc727b90bad75a5b35a 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -1567,6 +1567,8 @@ ftp_loop (struct urlinfo *u, int *dt)
 
   *dt = 0;
 
+  memset (&con, 0, sizeof (con));
+
   rbuf_uninitialize (&con.rbuf);
   con.st = ON_YOUR_OWN;
   res = RETROK;                        /* in case it's not used */