- u = url_parse (url, &up_error_code, iri);
- if (!u)
- {
- logprintf (LOG_NOTQUIET, "%s: %s.\n", url, url_error (up_error_code));
- xfree (url);
- return URLERROR;
- }
-
- DEBUGP (("[IRI Retrieving %s with %s (UTF-8=%d)\n", quote (url),
- quote (iri->uri_encoding), iri->utf8_encode));
+ DEBUGP (("[IRI Retrieving %s with %s (UTF-8=%d)\n", quote_n (0, url),
+ iri->uri_encoding ? quote_n (1, iri->uri_encoding) : "None",
+ iri->utf8_encode));