mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Don't clear dl_file_url_map and dl_url_file_map in recursive_retrieve.
Published in <sxsk856le2y.fsf@florida.arsdigita.de> under the subject "Link conversion fix".
This commit is contained in:
parent
22240955e6
commit
aa888ba8da
@ -1,3 +1,8 @@
|
||||
2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
(recursive_retrieve): Don't clear the hash tables at this point at
|
||||
all; it interferes with the normal operation of register_download.
|
||||
|
||||
2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* recur.c (recursive_retrieve): Clear the hash tables only when
|
||||
|
@ -157,10 +157,6 @@ recursive_retrieve (const char *file, const char *this_url)
|
||||
|
||||
hash_table_clear (undesirable_urls);
|
||||
string_set_add (undesirable_urls, this_url);
|
||||
if (dl_file_url_map)
|
||||
hash_table_clear (dl_file_url_map);
|
||||
if (dl_url_file_map)
|
||||
hash_table_clear (dl_url_file_map);
|
||||
/* Enter this_url to the hash table, in original and "enhanced" form. */
|
||||
u = newurl ();
|
||||
err = parseurl (this_url, u, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user