summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/Asynch_Connector.h3
-rw-r--r--tests/Proactor_Test.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/ace/Asynch_Connector.h b/ace/Asynch_Connector.h
index 8b00b9544af..8cd558a74d4 100644
--- a/ace/Asynch_Connector.h
+++ b/ace/Asynch_Connector.h
@@ -60,8 +60,7 @@ public:
/// This initiates a new asynchronous connect
virtual int connect (const ACE_INET_Addr &remote_sap,
- const ACE_INET_Addr &local_sap =
- ACE_INET_Addr ((u_short)0),
+ const ACE_INET_Addr &local_sap,
int reuse_addr = 1,
const void *act = 0);
diff --git a/tests/Proactor_Test.cpp b/tests/Proactor_Test.cpp
index e368a9f5c89..0ad871c69d4 100644
--- a/tests/Proactor_Test.cpp
+++ b/tests/Proactor_Test.cpp
@@ -1066,7 +1066,7 @@ Connector::start (const ACE_INET_Addr& addr, int num)
for (; rc < num; rc++)
{
- if (this->connect (addr) != 0)
+ if (this->connect (addr, ACE_INET_Addr ((u_short)0)) != 0)
{
ACE_ERROR ((LM_ERROR,
ACE_TEXT ("(%t) %p\n"),