httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_log.c
Date Tue, 06 Jun 2000 14:51:11 GMT
trawick     00/06/06 07:51:09

  Modified:    src/main http_log.c
  Log:
  Increase the size of the buffer passed to ap_strerror(); I saw
  truncation of a particularly long message on OS/390, and useful
  info was past char 100.
  
  Revision  Changes    Path
  1.51      +1 -1      apache-2.0/src/main/http_log.c
  
  Index: http_log.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_log.c,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- http_log.c	2000/05/24 00:15:06	1.50
  +++ http_log.c	2000/06/06 14:51:06	1.51
  @@ -411,7 +411,7 @@
       }
       if (!(level & APLOG_NOERRNO)
   	&& (status != 0)) {
  -        char buf[100];
  +        char buf[120];
   	len += ap_snprintf(errstr + len, MAX_STRING_LEN - len,
   		"(%d)%s: ", status, ap_strerror(status, buf, sizeof(buf)));
       }
  
  
  

Mime
View raw message