httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@hyperreal.org
Subject cvs commit: apachen/src/main explain.c http_main.c
Date Sat, 01 Nov 1997 22:16:03 GMT
martin      97/11/01 14:16:02

  Modified:    src/main explain.c http_main.c
  Log:
  Two minor nits for portability: a dummy buffer changed from int[] to
  char[], and explain.c includes httpd.h now. Paul is right, however:
  explain.c ought to be eliminated and replaced by aplog_error().
  Reviewed by:	Martin +1, Dean +1, Paul +1 (see commit msg)
  
  Revision  Changes    Path
  1.5       +1 -0      apachen/src/main/explain.c
  
  Index: explain.c
  ===================================================================
  RCS file: /home/cvs/apachen/src/main/explain.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -u -r1.4 -r1.5
  --- explain.c	1997/09/16 00:41:31	1.4
  +++ explain.c	1997/11/01 22:15:59	1.5
  @@ -1,5 +1,6 @@
   #include <stdio.h>
   #include <stdarg.h>
  +#include "httpd.h"
   #include "explain.h"
   
   void _Explain(const char *szFile, int nLine, const char *szFmt,...)
  
  
  
  1.242     +1 -1      apachen/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apachen/src/main/http_main.c,v
  retrieving revision 1.241
  retrieving revision 1.242
  diff -u -u -r1.241 -r1.242
  --- http_main.c	1997/11/01 21:13:21	1.241
  +++ http_main.c	1997/11/01 22:15:59	1.242
  @@ -984,7 +984,7 @@
    */
   static void lingering_close(request_rec *r)
   {
  -    int dummybuf[512];
  +    char dummybuf[2048];
       struct timeval tv;
       fd_set lfds, fds_read, fds_err;
       int select_rv = 0, read_rv = 0;
  
  
  

Mime
View raw message