diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/SOCK_Connector_Test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SOCK_Connector_Test.cpp b/tests/SOCK_Connector_Test.cpp index a3e6503f9d1..cb68b4fc1d7 100644 --- a/tests/SOCK_Connector_Test.cpp +++ b/tests/SOCK_Connector_Test.cpp @@ -122,7 +122,7 @@ find_another_host (ACE_TCHAR other_host[]) { ACE_OS::strcpy (candidate[candidate_count].host_name, h->h_name); - if (candidate_count++ >= MAX_CANDIDATES) + if (++candidate_count >= MAX_CANDIDATES) break; } } |