You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2017/01/09 19:10:52 UTC

[trafficserver] branch master updated: Fix Http2Stream *stream variable shadow reported by issue 1308.

This is an automated email from the ASF dual-hosted git repository.

shinrich pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  6f116c0   Fix Http2Stream *stream variable shadow reported by issue 1308.
6f116c0 is described below

commit 6f116c0cd1cebf61e6dc4a3fde5eae8aaa3813e6
Author: Susan Hinrichs <sh...@ieee.org>
AuthorDate: Mon Jan 9 18:40:52 2017 +0000

    Fix Http2Stream *stream variable shadow reported by issue 1308.
---
 proxy/http2/Http2ConnectionState.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index 5b96b97..69a4b3b 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -206,8 +206,8 @@ rcv_headers_frame(Http2ConnectionState &cstate, const Http2Frame &frame)
   } else {
     // Create new stream
     Http2Error error(HTTP2_ERROR_CLASS_NONE);
-    Http2Stream *stream = cstate.create_stream(stream_id, error);
-    new_stream          = true;
+    stream     = cstate.create_stream(stream_id, error);
+    new_stream = true;
     if (!stream) {
       return error;
     }

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].