Skip to content

Commit

Permalink
Implement review recommendation. More to follow.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Jun 12, 2024
1 parent 4d2f2b4 commit d0f2185
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Sming/Components/Network/src/Network/TcpConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,7 @@ bool TcpConnection::enableSsl(const String& hostName)
return false;
}

if(hostName) {
ssl->hostName = hostName;
}
ssl->hostName = hostName;

useSsl = true;
useSsl = (internalOnConnected(ERR_OK) == ERR_OK);
Expand Down

0 comments on commit d0f2185

Please sign in to comment.