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);
/* 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)