]> sjero.net Git - wget/blobdiff - src/recur.c
[svn] Check whether downloaded_html_set is non-NULL before using it.
[wget] / src / recur.c
index 1b9c6bfea13d5b44c38d1f52af3d1a00712b173d..9507c2f20cccd0e9cd22bfc36f46247354f413c3 100644 (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