Hi,
Yesterday, forward porting two 2.5 patches to HEAD, I have made some mistakes.
The applied fixes are wrong.
The attached patch fix my errors.
Sorry for the inconvenience. :-(
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/
Index: client_side_reply.cc
===================================================================
RCS file: /squid/squid3/src/client_side_reply.cc,v
retrieving revision 1.71
diff -u -p -r1.71 client_side_reply.cc
--- client_side_reply.cc 25 Sep 2004 15:54:12 -0000 1.71
+++ client_side_reply.cc 26 Sep 2004 08:49:15 -0000
@@ -750,7 +750,7 @@ clientReplyContext::cacheHit(StoreIOBuff
*/
if (e->store_status != STORE_OK)
- http->log_type = LOG_TCP_MISS;
+ http->logType = LOG_TCP_MISS;
else if (e->mem_status == IN_MEMORY)
http->logType = LOG_TCP_MEM_HIT;
else if (Config.onoff.offline)
Index: HttpHeader.cc
===================================================================
RCS file: /squid/squid3/src/HttpHeader.cc,v
retrieving revision 1.97
diff -u -p -r1.97 HttpHeader.cc
--- HttpHeader.cc 24 Sep 2004 22:24:33 -0000 1.97
+++ HttpHeader.cc 26 Sep 2004 08:49:16 -0000
@@ -1477,7 +1477,7 @@ httpHeaderNameById(int id)
assert(id >= 0 && id < HDR_ENUM_END);
- return strBuf(Headers[id].name);
+ return Headers[id].name.buf();
}
int