mirror of
https://github.com/mirror/wget.git
synced 2025-03-30 22:20:08 +08: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>
|
2002-05-27 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||||
|
|
||||||
* html-parse.c (NAME_CHAR_P): Allow almost any character here.
|
* 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",
|
DEBUGP (("Already downloaded \"%s\", reusing it from \"%s\".\n",
|
||||||
url, file));
|
url, file));
|
||||||
|
|
||||||
if (string_set_contains (downloaded_html_set, file))
|
if (downloaded_html_set
|
||||||
|
&& string_set_contains (downloaded_html_set, file))
|
||||||
descend = 1;
|
descend = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user