]> sjero.net Git - wget/blobdiff - src/recur.c
Merge current tip with CSS stuff.
[wget] / src / recur.c
index daf8a374ad94751d65cc6d489ab9b06085e25e18..729a14e91d9cc2e57dbdd54894a954bfcca41d5f 100644 (file)
@@ -55,6 +55,7 @@ as that of the covered work.  */
 /* Functions for maintaining the URL queue.  */
 
 struct queue_element {
+  const char *url;              /* the URL to download */
   const char *referer;          /* the referring document */
   int depth;                    /* the depth */
   bool html_allowed;            /* whether the document is allowed to
@@ -282,7 +283,7 @@ retrieve_tree (const char *start_url)
               ((dt & TEXTCSS) || css_allowed))
             {
               descend = true;
-              is_css = false;
+              is_css = true;
             }
 
           if (redirected)
@@ -472,7 +473,7 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
       if (opt.spider) 
         {
           char *referrer = url_string (parent, URL_AUTH_HIDE_PASSWD);
-          DEBUGP (("download_child_p: parent->url is: `%s'\n", parent->url));
+          DEBUGP (("download_child_p: parent->url is: %s\n", quote (parent->url)));
           visited_url (url, referrer);
           xfree (referrer);
         }