From: wessels <> Date: Sun, 1 Apr 2001 22:52:31 +0000 (+0000) Subject: Further to htcpHandleData problems, there was no case statment X-Git-Tag: SQUID_3_0_PRE1~1555 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2caa57efb30eda552b00849fc165cfcd51d9a218;p=thirdparty%2Fsquid.git Further to htcpHandleData problems, there was no case statment for HTCP_CLR. --- diff --git a/src/htcp.cc b/src/htcp.cc index 631e9595db..412f37ed65 100644 --- a/src/htcp.cc +++ b/src/htcp.cc @@ -1,6 +1,6 @@ /* - * $Id: htcp.cc,v 1.35 2001/04/01 16:33:37 wessels Exp $ + * $Id: htcp.cc,v 1.36 2001/04/01 16:52:31 wessels Exp $ * * DEBUG: section 31 Hypertext Caching Protocol * AUTHOR: Duane Wesssels @@ -785,6 +785,10 @@ htcpHandleData(char *buf, int sz, struct sockaddr_in *from) case HTCP_SET: htcpHandleSet(&hdr, buf, sz, from); break; + case HTCP_CLR: + debug(31, 1) ("htcpHandleData: client %s, CLR not supported\n", + inet_ntoa(from->sin_addr)); + break; default: assert(0); break;