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:
parent
6218fbed2b
commit
bb8e524316
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user