From: Gregg Lewis Smith Date: Mon, 10 Aug 2015 03:40:24 +0000 (+0000) Subject: missed during c89-ifying in r1692432 X-Git-Tag: 2.5.0-alpha~2971 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ed2d965a3ec81253ffc023c1cef074876316f0f;p=thirdparty%2Fapache%2Fhttpd.git missed during c89-ifying in r1692432 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1694951 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_switch.c b/modules/http2/h2_switch.c index bd0591a8c1b..6a2f00934be 100644 --- a/modules/http2/h2_switch.c +++ b/modules/http2/h2_switch.c @@ -162,6 +162,7 @@ static int h2_protocol_switch(conn_rec *c, request_rec *r, server_rec *s, h2_ctx_protocol_set(ctx, protocol); if (r != NULL) { + apr_status_t status; /* Switching in the middle of a request means that * we have to send out the response to this one in h2 * format. So we need to take over the connection @@ -171,7 +172,7 @@ static int h2_protocol_switch(conn_rec *c, request_rec *r, server_rec *s, ap_remove_input_filter_byhandle(r->input_filters, "reqtimeout"); /* Ok, start an h2_conn on this one. */ - apr_status_t status = h2_conn_rprocess(r); + status = h2_conn_rprocess(r); if (status != DONE) { /* Nothing really to do about this. */ ap_log_rerror(APLOG_MARK, APLOG_DEBUG, status, r,