]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix reply header log format %{header}<h. Was logging the request headers...
authorhno <>
Fri, 18 May 2007 01:59:41 +0000 (01:59 +0000)
committerhno <>
Fri, 18 May 2007 01:59:41 +0000 (01:59 +0000)
src/access_log.cc

index 1e486eafda644d3b31ef1f6bf3697106a97fb40f..fc322bbf4f39f986ac1d28f6a2a8f0b967bba15d 100644 (file)
@@ -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 @@ accessLogCustom(AccessLogEntry * al, customlog * log)
 
         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 @@ accessLogCustom(AccessLogEntry * al, customlog * log)
 
         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();