summaryrefslogtreecommitdiffstats
path: root/os/win32/mod_isapi.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-11-29 19:50:12 +0100
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-11-29 19:50:12 +0100
commit7cf10a490d6407bb2fe004351258673b8d449771 (patch)
treea5ba17ec43db69f8472fd4c48703776637305057 /os/win32/mod_isapi.c
parent Eliminate the last WSAE error test. (diff)
downloadapache2-7cf10a490d6407bb2fe004351258673b8d449771.tar.xz
apache2-7cf10a490d6407bb2fe004351258673b8d449771.zip
Fix uninitialized badness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87132 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--os/win32/mod_isapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/win32/mod_isapi.c b/os/win32/mod_isapi.c
index fd4ccc9646..64a93ba02c 100644
--- a/os/win32/mod_isapi.c
+++ b/os/win32/mod_isapi.c
@@ -595,7 +595,7 @@ BOOL WINAPI GetServerVariable (HCONN hConn, LPSTR lpszVariableName,
int nelts = 2 * apr_table_elts(r->headers_in)->nelts;
int i;
- for (i = 0; i < nelts; i += 2)
+ for (len = 0, i = 0; i < nelts; i += 2)
len += strlen(raw[i]) + strlen(raw[i + 1]) + 2;
if (*lpdwSizeofBuffer < len + 1) {