mirror of
https://github.com/mirror/wget.git
synced 2025-01-08 19:30:41 +08: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>
|
2001-11-29 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* http.c (http_process_range): Accept the broken output of
|
* http.c (http_process_range): Accept the broken output of
|
||||||
|
@ -141,6 +141,7 @@ address_list_new (char **h_addr_list)
|
|||||||
++count;
|
++count;
|
||||||
assert (count > 0);
|
assert (count > 0);
|
||||||
al->count = count;
|
al->count = count;
|
||||||
|
al->faulty = 0;
|
||||||
al->buffer = xmalloc (count * IP4_ADDRESS_LENGTH);
|
al->buffer = xmalloc (count * IP4_ADDRESS_LENGTH);
|
||||||
al->refcount = 1;
|
al->refcount = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user