]> granicus.if.org Git - apache/commitdiff
C89
authorGregg Lewis Smith <gsmith@apache.org>
Thu, 3 Sep 2015 00:30:53 +0000 (00:30 +0000)
committerGregg Lewis Smith <gsmith@apache.org>
Thu, 3 Sep 2015 00:30:53 +0000 (00:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1700917 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_session.c

index 26430e8869c96105cbeb5e7018445fd38be00e24..8c8bced32a4210065ee1b0837de97dba98b0a4d8 100644 (file)
@@ -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. */