summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/ProxyFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/ProxyFactory.cpp')
-rw-r--r--cppe/src/IceE/ProxyFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/IceE/ProxyFactory.cpp b/cppe/src/IceE/ProxyFactory.cpp
index 00cf23f10f7..8f1cd6d1141 100644
--- a/cppe/src/IceE/ProxyFactory.cpp
+++ b/cppe/src/IceE/ProxyFactory.cpp
@@ -169,12 +169,12 @@ IceInternal::ProxyFactory::checkRetryAfterException(const LocalException& ex, co
out << " because of exception\n" << ex.toString();
}
- if(cnt > 0)
+ if(interval > 0)
{
//
// Sleep before retrying.
//
- IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(_retryIntervals[cnt - 1]));
+ IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(interval));
}
}