Skip to content

Commit fe16191

Browse files
author
Gregg L. Smith
committed
C89
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700917 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2248f29 commit fe16191

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/http2/h2_session.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ static int on_begin_headers_cb(nghttp2_session *ngh2,
259259
const nghttp2_frame *frame, void *userp)
260260
{
261261
/* This starts a new stream. */
262+
int rv;
262263
(void)ngh2;
263-
int rv = stream_open((h2_session *)userp, frame->hd.stream_id);
264+
rv = stream_open((h2_session *)userp, frame->hd.stream_id);
264265
if (rv != NGHTTP2_ERR_CALLBACK_FAILURE) {
265266
/* on_header_cb or on_frame_recv_cb will dectect that stream
266267
does not exist and submit RST_STREAM. */

0 commit comments

Comments
 (0)