File 10801.patch of Package squid-beta

---------------------
PatchSet 10801 
Date: 2007/05/17 19:59:41
Author: hno
Branch: HEAD
Tag: (none) 
Log:
Fix reply header log format %{header}<h. Was logging the request headers...

Members: 
	src/access_log.cc:1.123->1.124 

Index: squid3/src/access_log.cc
===================================================================
RCS file: /cvsroot/squid/squid3/src/access_log.cc,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- squid3/src/access_log.cc	17 May 2007 19:55:52 -0000	1.123
+++ squid3/src/access_log.cc	17 May 2007 19:59:41 -0000	1.124
@@ -1,6 +1,6 @@
 
 /*
- * $Id: access_log.cc,v 1.123 2007/05/17 19:55:52 hno Exp $
+ * $Id: access_log.cc,v 1.124 2007/05/17 19:59:41 hno Exp $
  *
  * DEBUG: section 46    Access Log
  * AUTHOR: Duane Wessels
@@ -636,7 +636,7 @@
 
         case LFT_REPLY_HEADER:
             if (al->reply)
-                sb = al->request->header.getByName(fmt->data.header.header);
+                sb = al->reply->header.getByName(fmt->data.header.header);
 
             out = sb.buf();
 
@@ -656,7 +656,7 @@
 
         case LFT_REPLY_HEADER_ELEM:
             if (al->reply)
-                sb = al->request->header.getByNameListMember(fmt->data.header.header, fmt->data.header.element, fmt->data.header.separator);
+                sb = al->reply->header.getByNameListMember(fmt->data.header.header, fmt->data.header.element, fmt->data.header.separator);
 
             out = sb.buf();