]> sjero.net Git - wget/commitdiff
[svn] Don't clear dl_file_url_map and dl_url_file_map in recursive_retrieve.
authorhniksic <devnull@localhost>
Sun, 1 Apr 2001 02:41:26 +0000 (18:41 -0800)
committerhniksic <devnull@localhost>
Sun, 1 Apr 2001 02:41:26 +0000 (18:41 -0800)
Published in <sxsk856le2y.fsf@florida.arsdigita.de> under the subject
"Link conversion fix".

src/ChangeLog
src/recur.c

index b4dc7e09c8faddd2964880a16214165612907a25..5eaa0ac21df0dc291039d4f494ce7552f238d35f 100644 (file)
@@ -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
index 1734530df7f84f3f36cb625bb6b582e1a7b42786..23a5e3ab5a29f140f17b238aee68992012950629 100644 (file)
@@ -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);