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/09/03 02:30:54 UTC
svn commit: r1700917 - /httpd/httpd/trunk/modules/http2/h2_session.c
Author: gsmith
Date: Thu Sep 3 00:30:53 2015
New Revision: 1700917
URL: http://svn.apache.org/r1700917
Log:
C89
Modified:
httpd/httpd/trunk/modules/http2/h2_session.c
Modified: httpd/httpd/trunk/modules/http2/h2_session.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_session.c?rev=1700917&r1=1700916&r2=1700917&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_session.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_session.c Thu Sep 3 00:30:53 2015
@@ -259,8 +259,9 @@ static int on_begin_headers_cb(nghttp2_s
const nghttp2_frame *frame, void *userp)
{
/* This starts a new stream. */
+ int rv;
(void)ngh2;
- int rv = stream_open((h2_session *)userp, frame->hd.stream_id);
+ rv = stream_open((h2_session *)userp, frame->hd.stream_id);
if (rv != NGHTTP2_ERR_CALLBACK_FAILURE) {
/* on_header_cb or on_frame_recv_cb will dectect that stream
does not exist and submit RST_STREAM. */