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

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/7.1.x by this push:
       new  1f29e84   Clean up from converting Http2 enums to enum classes.
1f29e84 is described below

commit 1f29e8451bb795f8665abf6b9cf75d2c8caa6828
Author: Alan M. Carroll <[email protected]>
AuthorDate: Tue Mar 28 15:30:46 2017 -0500

    Clean up from converting Http2 enums to enum classes.
    
    (cherry picked from commit 11e185578de36b192a4bea0d09ccf64462a411cd)
---
 proxy/http2/Http2ConnectionState.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index 112bc2e..6c7d35b 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -615,7 +615,7 @@ rcv_goaway_frame(Http2ConnectionState &cstate, const 
Http2Frame &frame)
   }
 
   DebugHttp2Stream(cstate.ua_session, stream_id, "GOAWAY: last stream id=%d, 
error code=%d", goaway.last_streamid,
-                   goaway.error_code);
+                   static_cast<int>(goaway.error_code));
 
   cstate.handleEvent(HTTP2_SESSION_EVENT_FINI, nullptr);
   // eventProcessor.schedule_imm(&cs, ET_NET, VC_EVENT_ERROR);

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to