+2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * recur.c (recursive_retrieve): Clear the hash tables only when
+ they are defined.
+
2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
* http.c (gethttp): Make sure the socket is closed with
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);
+ 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);