X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fhtml-url.c;h=68a8bc3c7a132d8f56b540dff72235f39845a9b0;hb=18bca2706b4c5c1f3bdad7349e092d0675608a61;hp=e6ab232461d8e01170920e4db7f66a4676daeb90;hpb=1b4ed7dcb7bdad277a9ee2c5a42b6e70854db802;p=wget diff --git a/src/html-url.c b/src/html-url.c index e6ab2324..68a8bc3c 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -304,8 +304,11 @@ append_url (const char *link_uri, int position, int size, char *complete_uri = uri_merge (base, link_uri); - DEBUGP (("%s: merge(\"%s\", \"%s\") -> %s\n", - ctx->document_file, base, link_uri, complete_uri)); + DEBUGP (("%s: merge(%s, %s) -> %s\n", + quotearg_n_style (0, escape_quoting_style, ctx->document_file), + quote_n (1, base), + quote_n (2, link_uri), + quotearg_n_style (3, escape_quoting_style, complete_uri))); url = url_parse (complete_uri, NULL, NULL, false); if (!url) @@ -318,7 +321,7 @@ append_url (const char *link_uri, int position, int size, xfree (complete_uri); } - DEBUGP (("appending \"%s\" to urlpos.\n", url->url)); + DEBUGP (("appending %s to urlpos.\n", quote (url->url))); newel = xnew0 (struct urlpos); newel->url = url;