From 0d41823272337b34c01f547d0cfee06983f5e1f3 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Fri, 25 Apr 2008 22:31:08 +0200 Subject: [PATCH] Further quote*()-related integrations in cookies.c. --- src/cookies.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cookies.c b/src/cookies.c index bdc32745..147695c2 100644 --- a/src/cookies.c +++ b/src/cookies.c @@ -441,7 +441,8 @@ parse_set_cookie (const char *set_cookie, bool silent) if (!silent) logprintf (LOG_NOTQUIET, _("Syntax error in Set-Cookie: %s at position %d.\n"), - escnonprint (set_cookie), (int) (ptr - set_cookie)); + quotearg_style (escape_quoting_style, set_cookie), + (int) (ptr - set_cookie)); delete_cookie (cookie); return NULL; } @@ -683,7 +684,8 @@ cookie_handle_set_cookie (struct cookie_jar *jar, { logprintf (LOG_NOTQUIET, _("Cookie coming from %s attempted to set domain to %s\n"), - escnonprint (host), escnonprint (cookie->domain)); + quotearg_style (escape_quoting_style, host), + quotearg_style (escape_quoting_style, cookie->domain)); xfree (cookie->domain); goto copy_domain; } -- 2.39.2