From: wessels <> Date: Tue, 27 Aug 1996 01:09:59 +0000 (+0000) Subject: report all error pages to the debug log X-Git-Tag: SQUID_3_0_PRE1~5927 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4209be8d2aaebd2371e0a686afeba378c572748;p=thirdparty%2Fsquid.git report all error pages to the debug log --- diff --git a/src/errorpage.cc b/src/errorpage.cc index b4c0c4fd25..925284c462 100644 --- a/src/errorpage.cc +++ b/src/errorpage.cc @@ -1,6 +1,6 @@ /* - * $Id: errorpage.cc,v 1.30 1996/08/23 21:24:19 wessels Exp $ + * $Id: errorpage.cc,v 1.31 1996/08/26 19:09:59 wessels Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -144,7 +144,7 @@ void squid_error_entry(entry, type, msg) if (type < ERR_MIN || type > ERR_MAX) fatal_dump("squid_error_entry: type out of range."); index = (int) (type - ERR_MIN); - debug(4, 1, "%s: '%s'\n", ErrorData[index].tag, entry->url); + debug(4, 1, "%s: %s\n", ErrorData[index].tag, entry->url); sprintf(tmp_error_buf, SQUID_ERROR_MSG_P1, entry->url, entry->url, @@ -183,7 +183,7 @@ char *squid_error_url(url, method, type, address, code, msg) if (type < ERR_MIN || type > ERR_MAX) fatal_dump("squid_error_url: type out of range."); index = (int) (type - ERR_MIN); - debug(4, 1, "%s: '%s'\n", ErrorData[index].tag, url); + debug(4, 1, "%s: %s\n", ErrorData[index].tag, url); sprintf(tmp_error_buf, "HTTP/1.0 %d Cache Detected Error\r\nContent-type: text/html\r\n\r\n", code); sprintf(tbuf, SQUID_ERROR_MSG_P1, url, @@ -231,7 +231,7 @@ char *squid_error_request(request, type, address, code) if (type < ERR_MIN || type > ERR_MAX) fatal_dump("squid_error_request: type out of range."); index = (int) (type - ERR_MIN); - debug(4, 1, "%s: '%s'\n", ErrorData[index].tag, request); + debug(4, 1, "%s: %s\n", ErrorData[index].tag, request); sprintf(tmp_error_buf, "HTTP/1.0 %d Cache Detected Error\r\nContent-type: text/html\r\n\r\n", code); sprintf(tbuf, SQUID_REQUEST_ERROR_MSG, request,