Skip to content

Commit

Permalink
Fixed issue with ignoring IP-address.
Browse files Browse the repository at this point in the history
  • Loading branch information
aregtech committed Dec 17, 2024
1 parent 437f39d commit 2b6efe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/areg/base/private/NESocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ AREG_API_IMPL SOCKETHANDLE NESocket::serverSocketConnect(const std::string_view
{
LOG_SCOPE(areg_base_NESocket_serverSocketConnect);

const char * host = hostName.empty() ? hostName.data() : NESocket::LocalHost.data();
const char * host = hostName.empty() == false ? hostName.data() : NESocket::LocalHost.data();

LOG_DBG("Creating server socket on host [ %s ] and port number [ %u ]", host, static_cast<unsigned int>(portNr));

Expand Down

0 comments on commit 2b6efe5

Please sign in to comment.