You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/06/06 16:51:11 UTC

cvs commit: apache-2.0/src/main http_log.c

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)));
       }