From 26a3eea8e2f42c621ce6c40a93acf5ff1cd12220 Mon Sep 17 00:00:00 2001 From: Saint Xavier Date: Fri, 15 Aug 2008 15:15:42 +0200 Subject: [PATCH] Removed commented *printf and use quote_n() for quoting several args --- src/html-url.c | 1 - src/main.c | 2 -- src/recur.c | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/html-url.c b/src/html-url.c index cbaffb25..c954cb97 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -571,7 +571,6 @@ tag_handle_meta (int tagid, struct taginfo *tag, struct map_context *ctx) if (!mcharset) return; - /*logprintf (LOG_VERBOSE, "Meta tag charset : %s\n", quote (mcharset));*/ xfree_null (meta_charset); meta_charset = mcharset; } diff --git a/src/main.c b/src/main.c index c080394e..414b62bc 100644 --- a/src/main.c +++ b/src/main.c @@ -1076,8 +1076,6 @@ for details.\n\n")); if (opt.encoding_remote && !check_encoding_name (opt.encoding_remote)) opt.encoding_remote = NULL; - - /*logprintf (LOG_VERBOSE, "Locale = %s\n", quote (opt.locale));*/ } #else if (opt.enable_iri || opt.locale || opt.encoding_remote) diff --git a/src/recur.c b/src/recur.c index a0bb8681..78682458 100644 --- a/src/recur.c +++ b/src/recur.c @@ -115,8 +115,8 @@ url_enqueue (struct url_queue *queue, struct iri *i, DEBUGP (("Queue count %d, maxcount %d.\n", queue->count, queue->maxcount)); if (i) - DEBUGP (("[IRI Enqueuing %s with %s\n", quote (url), - i->uri_encoding ? quote (i->uri_encoding) : "None")); + DEBUGP (("[IRI Enqueuing %s with %s\n", quote_n (0, url), + i->uri_encoding ? quote_n (1, i->uri_encoding) : "None")); if (queue->tail) queue->tail->next = qel; -- 2.39.2