From 44352c1675bddf1f0acad69a363ae5f03c6aff8e Mon Sep 17 00:00:00 2001 From: Source Maintenance Date: Fri, 16 Jan 2015 18:12:04 +0000 Subject: [PATCH] SourceFormat Enforcement --- errors/template.list | 4 ++-- errors/templates/ERR_PROTOCOL_UNKNOWN | 2 +- src/AclRegs.cc | 1 + src/acl/SquidError.cc | 3 ++- src/acl/SquidError.h | 3 ++- src/acl/SquidErrorData.cc | 2 +- src/acl/SquidErrorData.h | 3 ++- src/cache_cf.cc | 3 ++- src/client_side.cc | 9 +++++---- src/client_side.h | 2 +- 10 files changed, 19 insertions(+), 13 deletions(-) diff --git a/errors/template.list b/errors/template.list index 55812c11d6..81f48a9e1c 100644 --- a/errors/template.list +++ b/errors/template.list @@ -37,6 +37,7 @@ ERROR_TEMPLATES= \ templates/ERR_NO_RELAY \ templates/ERR_ONLY_IF_CACHED_MISS \ templates/ERR_PRECONDITION_FAILED \ + templates/ERR_PROTOCOL_UNKNOWN \ templates/ERR_READ_ERROR \ templates/ERR_READ_TIMEOUT \ templates/ERR_SECURE_CONNECT_FAIL \ @@ -47,5 +48,4 @@ ERROR_TEMPLATES= \ templates/ERR_UNSUP_REQ \ templates/ERR_URN_RESOLVE \ templates/ERR_WRITE_ERROR \ - templates/ERR_ZERO_SIZE_OBJECT \ - templates/ERR_PROTOCOL_UNKNOWN + templates/ERR_ZERO_SIZE_OBJECT diff --git a/errors/templates/ERR_PROTOCOL_UNKNOWN b/errors/templates/ERR_PROTOCOL_UNKNOWN index ace9151299..5a1be7d092 100644 --- a/errors/templates/ERR_PROTOCOL_UNKNOWN +++ b/errors/templates/ERR_PROTOCOL_UNKNOWN @@ -1,6 +1,6 @@ - + ERROR: The requested URL could not be retrieved