diff --git a/src/ChangeLog b/src/ChangeLog index cfccccec..94e912c2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/host.c b/src/host.c index eede86fe..bbb1a101 100644 --- a/src/host.c +++ b/src/host.c @@ -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;