]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/ProtocolV2: end scope of std::hex properly 26832/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 7 Mar 2019 11:49:29 +0000 (19:49 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 7 Mar 2019 11:49:29 +0000 (19:49 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/msg/async/ProtocolV2.cc

index ef00c89272d8ef23a943a55d248d3dbdd5a4a0f9..d9b142c3520e7f6549646a3b4c4820091472b490 100644 (file)
@@ -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);