You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/12/18 16:20:57 UTC

cvs commit: apache-1.3/src/main http_main.c

wrowe       01/12/18 07:20:57

  Modified:    src/main http_main.c
  Log:
    Fix a very irritating nit - this was the 1.3.20 code - there was no
    call for changing the formatting when the patch to add another platform
    in the #if case was modified.
  
  Revision  Changes    Path
  1.563     +2 -2      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.562
  retrieving revision 1.563
  diff -u -r1.562 -r1.563
  --- http_main.c	2001/11/26 17:26:54	1.562
  +++ http_main.c	2001/12/18 15:20:57	1.563
  @@ -1861,9 +1861,9 @@
   
       } while ((select_rv > 0) &&
   #if defined(WIN32) || defined(NETWARE)
  -             (recv(lsd, dummybuf, sizeof dummybuf, 0) > 0));
  +             (recv(lsd, dummybuf, sizeof(dummybuf), 0) > 0));
   #else
  -             (read(lsd, dummybuf, sizeof dummybuf) > 0));
  +             (read(lsd, dummybuf, sizeof(dummybuf)) > 0));
   #endif
   
       /* Should now have seen final ack.  Safe to finally kill socket */