Skip to content

Commit

Permalink
476 Fixed issue with ignoring IP-address. (#477)
Browse files Browse the repository at this point in the history
Fixed issue with ignoring IP-address.
  • Loading branch information
aregtech authored Dec 17, 2024
2 parents 437f39d + 2b6efe5 commit 61f0ff6
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 61f0ff6

Please sign in to comment.