summaryrefslogtreecommitdiff
path: root/ACE/tests/SOCK_Connector_Test.cpp
diff options
context:
space:
mode:
authorErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
committerErik Sohns <erik.sohns@posteo.de>2023-04-05 17:37:54 +0200
commit761e24b54d7fda41ed58a6e2f41ba905e43bf3d9 (patch)
tree69171a8ba215e125cf273ab6bbe4641313df6e6a /ACE/tests/SOCK_Connector_Test.cpp
parent3e44fb91cf724aeb48b38169482a4878de316afc (diff)
parent9e18d338ec598e1a8da6d32a0fba5a20c76978f7 (diff)
downloadATCD-761e24b54d7fda41ed58a6e2f41ba905e43bf3d9.tar.gz
Merge branch 'message_queue_ex_get_queue' of https://github.com/esohns/ACE_TAO into message_queue_ex_get_queue
Diffstat (limited to 'ACE/tests/SOCK_Connector_Test.cpp')
-rw-r--r--ACE/tests/SOCK_Connector_Test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/tests/SOCK_Connector_Test.cpp b/ACE/tests/SOCK_Connector_Test.cpp
index 40296f00f84..2db953b4c21 100644
--- a/ACE/tests/SOCK_Connector_Test.cpp
+++ b/ACE/tests/SOCK_Connector_Test.cpp
@@ -103,10 +103,9 @@ find_another_host (ACE_TCHAR other_host[])
// an infinite loop on Linux --mas 03-08-2001
while ((h = gethostent ()) != 0)
{
- if (ACE_OS::strcmp (h->h_name,
- ACE_TEXT_ALWAYS_CHAR (ACE_DEFAULT_SERVER_HOST)) == 0)
+ if (ACE_OS::strcmp (h->h_name, ACE_TEXT_ALWAYS_CHAR (ACE_DEFAULT_SERVER_HOST)) == 0)
continue;
- // AIX just _has_ to be different
+
if (ACE_OS::strcmp (h->h_name, "loopback") == 0)
continue;