tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers AccessLogInterceptor.java
Date Mon, 15 Oct 2001 01:58:22 GMT
larryi      01/10/14 18:58:22

  Modified:    src/share/org/apache/tomcat/modules/loggers
                        AccessLogInterceptor.java
  Log:
  Fix for NPE.
  
  Reported by: Alessandro Polverini
  
  Revision  Changes    Path
  1.7       +1 -2      jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers/AccessLogInterceptor.java
  
  Index: AccessLogInterceptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/loggers/AccessLogInterceptor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AccessLogInterceptor.java	2001/09/14 06:00:14	1.6
  +++ AccessLogInterceptor.java	2001/10/15 01:58:21	1.7
  @@ -238,8 +238,7 @@
   				fw.write(request.protocol().toString().trim());
   				break;
   			    case 'b':
  -				fw.write(response.getMimeHeaders().
  -					 getHeader("Content-Length"));
  +				fw.write(response.getContentLength());
   				break;
   			    case 's':
   				fw.write(Integer.
  
  
  

Mime
View raw message