summaryrefslogtreecommitdiff
path: root/tests/Conn_Test.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-09 04:55:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-09 04:55:56 +0000
commitaddafc86107ca1e642c1ed1f2b634aabbae1558c (patch)
treeb32bf9d335bfb489169ff4e48a944d481cb11775 /tests/Conn_Test.cpp
parent1caed6b960388384e58af42f411f48dc429340fe (diff)
downloadATCD-addafc86107ca1e642c1ed1f2b634aabbae1558c.tar.gz
*** empty log message ***
Diffstat (limited to 'tests/Conn_Test.cpp')
-rw-r--r--tests/Conn_Test.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/Conn_Test.cpp b/tests/Conn_Test.cpp
index 94ab58b02bd..b5482267d31 100644
--- a/tests/Conn_Test.cpp
+++ b/tests/Conn_Test.cpp
@@ -359,7 +359,8 @@ client (void *arg)
#endif /* (defined (ACE_WIN32) || defined (VXWORKS)) && defined (ACE_HAS_THREADS) */
ACE_INET_Addr *remote_addr = (ACE_INET_Addr *) arg;
- ACE_INET_Addr server_addr (remote_addr->get_port_number (), "localhost");
+ ACE_INET_Addr server_addr (remote_addr->get_port_number (),
+ ACE_DEFAULT_SERVER_HOST);
CONNECTOR connector;
NULL_CREATION_STRATEGY creation_strategy;
@@ -437,8 +438,6 @@ main (int, char *[])
// Acceptor
ACCEPTOR acceptor;
-
- // Create a server address.
ACE_INET_Addr server_addr;
// Bind acceptor to any port and then find out what the port was.
@@ -462,7 +461,7 @@ main (int, char *[])
break;
/* NOTREACHED */
default:
- client (&server_addr);
+ client ((void *) &server_addr);
ACE_OS::wait ();
break;
/* NOTREACHED */