]> granicus.if.org Git - apache/commitdiff
Fix Windows CompContext buff size miscalculation
authorAllan K. Edwards <ake@apache.org>
Tue, 22 Mar 2005 21:50:54 +0000 (21:50 +0000)
committerAllan K. Edwards <ake@apache.org>
Tue, 22 Mar 2005 21:50:54 +0000 (21:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@158685 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/mpm/winnt/mpm_winnt.h

diff --git a/CHANGES b/CHANGES
index 8c4b0e2727850ef4d7fb8644514133f17d024885..98f4a3b5d5116e4070394552698165b9e8a42761 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,9 @@ Changes with Apache 2.1.5
 
 Changes with Apache 2.1.4
 
+  *) Fix Windows CompContext buff size miscalculation
+     [Allan Edwards]
+
   *) Add ReceiveBufferSize directive to control the TCP receive buffer.
      [Eric Covener <covener gmail.com>]
 
index 7332e74057726a9d1cabbe046fc5f0002c9a335f..dce956c39aa1131ca9d3d9edd2845cdac8565a22 100644 (file)
@@ -87,9 +87,9 @@ AP_DECLARE(void) ap_signal_parent(ap_signal_parent_e type);
                                                   (PCHAR)(address) - \
                                                   (PCHAR)(&((type *)0)->field)))
 #if APR_HAVE_IPV6
-#define PADDED_ADDR_SIZE sizeof(SOCKADDR_IN6)+16
+#define PADDED_ADDR_SIZE (sizeof(SOCKADDR_IN6)+16)
 #else
-#define PADDED_ADDR_SIZE sizeof(SOCKADDR_IN)+16
+#define PADDED_ADDR_SIZE (sizeof(SOCKADDR_IN)+16)
 #endif
 
 typedef struct CompContext {