From: xie xingguo Date: Thu, 7 Mar 2019 11:49:29 +0000 (+0800) Subject: msg/async/ProtocolV2: end scope of std::hex properly X-Git-Tag: v14.1.1~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F26832%2Fhead;p=ceph.git msg/async/ProtocolV2: end scope of std::hex properly Signed-off-by: xie xingguo --- diff --git a/src/msg/async/ProtocolV2.cc b/src/msg/async/ProtocolV2.cc index ef00c89272d8..d9b142c3520e 100644 --- a/src/msg/async/ProtocolV2.cc +++ b/src/msg/async/ProtocolV2.cc @@ -859,7 +859,7 @@ CtPtr ProtocolV2::_handle_peer_banner_payload(char *buffer, int r) { if ((supported_features & peer_required_features) != peer_required_features) { ldout(cct, 1) << __func__ << " we do not support all peer required features" << " required=" << std::hex << peer_required_features - << " supported=" << std::hex << supported_features << dendl; + << " supported=" << supported_features << std::dec << dendl; stop(); connection->dispatch_queue->queue_reset(connection); return nullptr; @@ -2337,7 +2337,7 @@ CtPtr ProtocolV2::handle_reconnect(ceph::bufferlist &payload) << " client cookie mismatch, I must have reseted:" << " cc=" << std::hex << exproto->client_cookie << " rcc=" << reconnect.client_cookie() - << ", reseting client." + << ", reseting client." << std::dec << dendl; auto reset = ResetFrame::Encode(session_stream_handlers, connection->policy.resetcheck);