X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Frecur.c;h=741ca823094a75c0fd760f44cd126dba88e81216;hb=766df9d4e9392045a4e5c730ed81e599b509557a;hp=7f86469789c48aac8936ad0e897743658b2c2d23;hpb=1c231299bdb53d8229d9c9fc463cdc2407e9435c;p=wget diff --git a/src/recur.c b/src/recur.c index 7f864697..741ca823 100644 --- a/src/recur.c +++ b/src/recur.c @@ -196,8 +196,9 @@ retrieve_tree (const char *start_url) if (!start_url_parsed) { - logprintf (LOG_NOTQUIET, "%s: %s.\n", start_url, - url_error (up_error_code)); + char *error = url_error (start_url, up_error_code); + logprintf (LOG_NOTQUIET, "%s: %s.\n", start_url, error); + xfree (error); return URLERROR; } @@ -283,7 +284,7 @@ retrieve_tree (const char *start_url) ((dt & TEXTCSS) || css_allowed)) { descend = true; - is_css = false; + is_css = true; } if (redirected) @@ -473,7 +474,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); }