]> sjero.net Git - wget/blobdiff - src/ftp.c
[svn] ChangeLog tweak; initialize con to appease the access checker.
[wget] / src / ftp.c
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 */