summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ConnectionFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp
index 34012751e39..0c9c531e009 100644
--- a/cpp/src/Ice/ConnectionFactory.cpp
+++ b/cpp/src/Ice/ConnectionFactory.cpp
@@ -308,7 +308,7 @@ IceInternal::OutgoingConnectionFactory::create(const vector<EndpointPtr>& endpts
Trace out(_instance->logger(), traceLevels->retryCat);
out << "connection to endpoint failed";
- if(q != endpoints.end())
+ if(q + 1 != endpoints.end())
{
out << ", trying next endpoint\n";
}