You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@apache.org on 2015/08/10 05:40:25 UTC
svn commit: r1694951 - /httpd/httpd/trunk/modules/http2/h2_switch.c
Author: gsmith
Date: Mon Aug 10 03:40:24 2015
New Revision: 1694951
URL: http://svn.apache.org/r1694951
Log:
missed during c89-ifying in r1692432
Modified:
httpd/httpd/trunk/modules/http2/h2_switch.c
Modified: httpd/httpd/trunk/modules/http2/h2_switch.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_switch.c?rev=1694951&r1=1694950&r2=1694951&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_switch.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_switch.c Mon Aug 10 03:40:24 2015
@@ -162,6 +162,7 @@ static int h2_protocol_switch(conn_rec *
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 *
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,