$NetBSD: patch-ae,v 1.6 2002/12/16 11:39:02 wiz Exp $

--- src/recur.c.orig	Mon May 27 16:00:06 2002
+++ src/recur.c
@@ -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
