summaryrefslogtreecommitdiff
path: root/tests/SOCK_Connector_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SOCK_Connector_Test.cpp')
-rw-r--r--tests/SOCK_Connector_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SOCK_Connector_Test.cpp b/tests/SOCK_Connector_Test.cpp
index 42e347cf26f..baf3037e163 100644
--- a/tests/SOCK_Connector_Test.cpp
+++ b/tests/SOCK_Connector_Test.cpp
@@ -259,7 +259,7 @@ succeed_nonblocking (void)
{
// Reset the status _before_ doing the printout, in case the
// printout overwrites errno.
- if (errno == ECONNREFUSED) // ENOTCONN should not happen any more || errno == ENOTCONN)
+ if (errno == ECONNREFUSED || errno == ENOTCONN)
status = 0;
ACE_DEBUG ((LM_DEBUG,