httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsm...@apache.org
Subject svn commit: r1700917 - /httpd/httpd/trunk/modules/http2/h2_session.c
Date Thu, 03 Sep 2015 00:30:54 GMT
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. */



Mime
View raw message