Skip to content

Commit

Permalink
fix: follow-up to fc60d26: revert unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Apr 14, 2024
1 parent fc60d26 commit fdfb106
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,11 @@ replies client::connect(std::string_view hostname,
{
reply = process_command("AUTH TLS", replies);

if (reply.is_positive)
if (reply.is_positive())
{

control_connection_.set_ssl(ssl_context_.get());
control_connection_.ssl_handshake();
}

control_connection_.set_ssl(ssl_context_.get());
control_connection_.ssl_handshake();
}

if (username && reply.is_positive())
Expand Down

0 comments on commit fdfb106

Please sign in to comment.