]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Initialize n=0, just in case.
authorMartin Kraemer <martin@apache.org>
Fri, 21 Jun 2002 09:09:15 +0000 (09:09 +0000)
committerMartin Kraemer <martin@apache.org>
Fri, 21 Jun 2002 09:09:15 +0000 (09:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@95831 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_protocol.c

index 0ecc0ad03f72d7b1a6fdc52fe154983554f3c2bc..6be669599a04596ed11c0dc3735f0381ce9fd515 100644 (file)
@@ -983,7 +983,7 @@ static int read_request_line(request_rec *r)
     const char *uri;
     conn_rec *conn = r->connection;
     unsigned int major = 1, minor = 0;   /* Assume HTTP/1.0 if non-"HTTP" protocol */
-    int len, n;
+    int len, n = 0;
 
     /* Read past empty lines until we get a real request line,
      * a read error, the connection closes (EOF), or we timeout.