X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fres.c;h=50dcb56d0729f188ef4f7fd0ad450a2de7098185;hb=b1838bdfd197ec970d834ce5042995df92516841;hp=0996c90370104013c0fb1b93b61466bc45988c79;hpb=2f6aa1d7417df1dfc58597777686fbd77179b9fd;p=wget diff --git a/src/res.c b/src/res.c index 0996c903..50dcb56d 100644 --- a/src/res.c +++ b/src/res.c @@ -283,7 +283,7 @@ res_parse (const char *source, int length) SKIP_SPACE (p); if (field_b == field_e || EOL (p) || *p != ':') { - DEBUGP (("Ignoring malformed line %d", line_count)); + DEBUGP (("Ignoring malformed line %d\n", line_count)); goto next; } ++p; /* skip ':' */ @@ -351,7 +351,7 @@ res_parse (const char *source, int length) } else { - DEBUGP (("Ignoring unknown field at line %d", line_count)); + DEBUGP (("Ignoring unknown field at line %d\n", line_count)); goto next; } @@ -552,7 +552,7 @@ res_retrieve_file (const char *url, char **file, struct iri *iri) opt.timestamping = false; opt.spider = false; - url_parsed = url_parse (robots_url, &url_err, iri, true); + url_parsed = url_parse (robots_url, &url_err, i, true); if (!url_parsed) { char *error = url_error (robots_url, url_err);