Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
ddebug_f -> dwarn_f
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 committed Aug 20, 2020
1 parent 25b8aad commit bb1fed2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/runtime/security/client_negotiation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ void client_negotiation::handle_response(error_code err, const negotiation_respo
void client_negotiation::recv_mechanisms(const negotiation_response &resp)
{
if (resp.status != negotiation_status::type::SASL_LIST_MECHANISMS_RESP) {
ddebug_f("{}: get message({}) while expect({})",
_name,
enum_to_string(resp.status),
enum_to_string(negotiation_status::type::SASL_LIST_MECHANISMS_RESP));
dwarn_f("{}: get message({}) while expect({})",
_name,
enum_to_string(resp.status),
enum_to_string(negotiation_status::type::SASL_LIST_MECHANISMS_RESP));
fail_negotiation();
return;
}
Expand All @@ -101,9 +101,9 @@ void client_negotiation::recv_mechanisms(const negotiation_response &resp)
}

if (match_mechanism.empty()) {
ddebug_f("server only support mechanisms of ({}), can't find expected ({})",
resp_string,
boost::join(supported_mechanisms, ","));
dwarn_f("server only support mechanisms of ({}), can't find expected ({})",
resp_string,
boost::join(supported_mechanisms, ","));
fail_negotiation();
return;
}
Expand Down

0 comments on commit bb1fed2

Please sign in to comment.