From c48ad55865e7c121ed7f304c09485990d4117d0f Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 21 Jul 1998 02:37:38 +0000 Subject: [PATCH] remove UNUSED_CODE --- src/client_side.cc | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/src/client_side.cc b/src/client_side.cc index 7a96fd37b4..94ef3f24f0 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.358 1998/07/20 19:24:58 wessels Exp $ + * $Id: client_side.cc,v 1.359 1998/07/20 20:37:38 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -430,37 +430,6 @@ modifiedSince(StoreEntry * entry, request_t * request) } } -#if UNUSED_CODE -char * -clientConstructTraceEcho(clientHttpRequest * http) -{ - LOCAL_ARRAY(char, line, 256); - LOCAL_ARRAY(char, buf, 8192); - size_t len; - memset(buf, '\0', 8192); - snprintf(buf, 8192, "HTTP/1.0 200 OK\r\n"); - snprintf(line, 256, "Date: %s\r\n", mkrfc1123(squid_curtime)); - strcat(buf, line); - snprintf(line, 256, "Server: Squid/%s\r\n", SQUID_VERSION); - strcat(buf, line); - snprintf(line, 256, "Content-Type: message/http\r\n"); - strcat(buf, line); - strcat(buf, "\r\n"); - len = strlen(buf); - httpBuildRequestHeader(http->request, - http->request, - NULL, /* entry */ - NULL, /* in_len */ - buf + len, - 8192 - len, - http->conn->fd, - 0); /* flags */ - http->log_type = LOG_TCP_MISS; - http->http_code = HTTP_OK; - return buf; -} -#endif /* UNUSED_CODE */ - void clientPurgeRequest(clientHttpRequest * http) { @@ -511,15 +480,6 @@ checkNegativeHit(StoreEntry * e) return 1; } -#if UNUSED_CODE -static void -updateCDJunkStats() -{ - /* rewrite */ -} - -#endif - void clientUpdateCounters(clientHttpRequest * http) { -- 2.47.3