From 164ccc9e4143c6222e984a0f7a37a95e3901b3e8 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sun, 11 Feb 2001 09:27:37 -0800 Subject: [PATCH] [svn] ChangeLog tweak; initialize con to appease the access checker. --- src/ChangeLog | 7 ++++++- src/ftp.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 3178b8ae..963a663e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,10 +1,14 @@ +2001-02-11 Hrvoje Niksic + + * ftp.c (ftp_loop): Reset con. + 2001-01-06 Jan Prikryl * url.c (parse_uname): Added support for passwords containing '@' characters. (skip_uname): Ditto. -2001-02-11 Hack Kampbj-Aørn -B +2001-02-11 Hack Kampbjørn * 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 . 2001-02-10 Tim Mooney diff --git a/src/ftp.c b/src/ftp.c index e85cc4be..767424fb 100644 --- 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 */