1
0
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:
hniksic 2002-07-24 14:16:30 -07:00
parent d925033e38
commit d7673d398b
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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