]> sjero.net Git - wget/commitdiff
[svn] Initialize al->faulty.
authorhniksic <devnull@localhost>
Thu, 29 Nov 2001 14:06:03 +0000 (06:06 -0800)
committerhniksic <devnull@localhost>
Thu, 29 Nov 2001 14:06:03 +0000 (06:06 -0800)
Published in <sxsvgft65an.fsf@florida.arsdigita.de>.

src/ChangeLog
src/host.c

index cfccccec00d23165f751fb4669f13937b276c3a2..94e912c2ca4377033f3b805dc293ee94c7136fcb 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-29  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * host.c (address_list_new): Initialize al->faulty.
+
 2001-11-29  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * http.c (http_process_range): Accept the broken output of
index eede86fe51064c603ec2de0910ab93a459a6b3e0..bbb1a10164f05ebfba129a13f54cd63825844dbd 100644 (file)
@@ -141,6 +141,7 @@ address_list_new (char **h_addr_list)
     ++count;
   assert (count > 0);
   al->count    = count;
+  al->faulty   = 0;
   al->buffer   = xmalloc (count * IP4_ADDRESS_LENGTH);
   al->refcount = 1;