From 945b6be8569a1e3b9190b0323a66b7421d921c08 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Mon, 21 Dec 2015 15:20:55 +0000 Subject: [PATCH] gack, c99 mode stroke again git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721190 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/mod_http2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/http2/mod_http2.c b/modules/http2/mod_http2.c index b58ed13419..464161f3b3 100644 --- a/modules/http2/mod_http2.c +++ b/modules/http2/mod_http2.c @@ -211,8 +211,9 @@ static int http2_is_h2(conn_rec *c) static char *http2_var_lookup(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, char *name) { + int i; /* If the # of vars grow, we need to put definitions in a hash */ - for (int i = 0; i < H2_ALEN(H2_VARS); ++i) { + for (i = 0; i < H2_ALEN(H2_VARS); ++i) { h2_var_def *vdef = &H2_VARS[i]; if (!strcmp(vdef->name, name)) { return vdef->lookup(p, s, c, r); -- 2.40.0