mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Check whether downloaded_html_set is non-NULL before using it.
Posted in <sxsr8hsvnhh.fsf@florida.munich.redhat.com>.
This commit is contained in:
parent
d925033e38
commit
d7673d398b
@ -1,3 +1,8 @@
|
||||
2002-07-24 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* recur.c (retrieve_tree): Check whether downloaded_html_set is
|
||||
non-NULL before using it.
|
||||
|
||||
2002-05-27 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* html-parse.c (NAME_CHAR_P): Allow almost any character here.
|
||||
|
@ -254,7 +254,8 @@ retrieve_tree (const char *start_url)
|
||||
DEBUGP (("Already downloaded \"%s\", reusing it from \"%s\".\n",
|
||||
url, file));
|
||||
|
||||
if (string_set_contains (downloaded_html_set, file))
|
||||
if (downloaded_html_set
|
||||
&& string_set_contains (downloaded_html_set, file))
|
||||
descend = 1;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user