]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a very irritating nit - this was the 1.3.20 code - there was no
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 18 Dec 2001 15:20:57 +0000 (15:20 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 18 Dec 2001 15:20:57 +0000 (15:20 +0000)
  call for changing the formatting when the patch to add another platform
  in the #if case was modified.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92515 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_main.c

index 6dd94de16fe3286d0650d25db8ca3f850083b810..b129642ae0f6c00412aed9a3e40766d48f99a953 100644 (file)
@@ -1861,9 +1861,9 @@ static void lingering_close(request_rec *r)
 
     } 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 */