From: Gregg Lewis Smith Date: Thu, 3 Sep 2015 00:30:53 +0000 (+0000) Subject: C89 X-Git-Tag: 2.5.0-alpha~2876 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac1a6bb781904bdda4397c56f6ed48564b64fec2;p=thirdparty%2Fapache%2Fhttpd.git C89 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700917 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_session.c b/modules/http2/h2_session.c index 26430e8869c..8c8bced32a4 100644 --- a/modules/http2/h2_session.c +++ b/modules/http2/h2_session.c @@ -259,8 +259,9 @@ static int on_begin_headers_cb(nghttp2_session *ngh2, 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. */