]> sjero.net Git - wget/blobdiff - src/recur.c
[svn] Commit several minor changes:
[wget] / src / recur.c
index ba2115cf6873196d9d4fc80403a64d202bc8cadf..c721eeb62585306d2b17ae25fc931813e4a5853d 100644 (file)
@@ -157,8 +157,6 @@ recursive_retrieve (const char *file, const char *this_url)
 
       hash_table_clear (undesirable_urls);
       string_set_add (undesirable_urls, this_url);
-      hash_table_clear (dl_file_url_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);
@@ -272,7 +270,7 @@ recursive_retrieve (const char *file, const char *this_url)
       /* inl is set if the URL we are working on (constr) is stored in
         undesirable_urls.  Using it is crucial to avoid unnecessary
         repeated continuous hits to the hash table.  */
-      inl = string_set_exists (undesirable_urls, constr);
+      inl = string_set_contains (undesirable_urls, constr);
 
       /* If it is FTP, and FTP is not followed, chuck it out.  */
       if (!inl)