1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Initialize al->faulty.

Published in <sxsvgft65an.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2001-11-29 06:06:03 -08:00
parent 6218fbed2b
commit bb8e524316
2 changed files with 5 additions and 0 deletions

View 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

View 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;