httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1721190 - /httpd/httpd/trunk/modules/http2/mod_http2.c
Date Mon, 21 Dec 2015 15:20:55 GMT
Author: icing
Date: Mon Dec 21 15:20:55 2015
New Revision: 1721190

URL: http://svn.apache.org/viewvc?rev=1721190&view=rev
Log:
gack, c99 mode stroke again

Modified:
    httpd/httpd/trunk/modules/http2/mod_http2.c

Modified: httpd/httpd/trunk/modules/http2/mod_http2.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/mod_http2.c?rev=1721190&r1=1721189&r2=1721190&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/mod_http2.c (original)
+++ httpd/httpd/trunk/modules/http2/mod_http2.c Mon Dec 21 15:20:55 2015
@@ -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);



Mime
View raw message