diff options
author | Marc Laukien <marc@zeroc.com> | 2006-03-01 15:53:40 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2006-03-01 15:53:40 +0000 |
commit | 9119247a0df657fe35c8d9a9a8b6df1247c43fe8 (patch) | |
tree | 74e8120f3e2fde3055fe8e93e2325bc498959183 /cpp/src | |
parent | Removed some unecessay code (diff) | |
download | ice-9119247a0df657fe35c8d9a9a8b6df1247c43fe8.tar.bz2 ice-9119247a0df657fe35c8d9a9a8b6df1247c43fe8.tar.xz ice-9119247a0df657fe35c8d9a9a8b6df1247c43fe8.zip |
fix
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/OutgoingAsync.cpp | 10 | ||||
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 30 |
2 files changed, 20 insertions, 20 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index 7cee43b5d37..ad1e8e6436e 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -203,7 +203,7 @@ IceInternal::OutgoingAsync::__finished(const LocalException& exc) { IceUtil::Monitor<IceUtil::RecMutex>::Lock sync(_monitor); - if(__is) // Don't retry if cleanup has been called. + if(__os) // Don't retry if cleanup() was already called. { bool doRetry = false; @@ -280,7 +280,7 @@ IceInternal::OutgoingAsync::__prepare(const ObjectPrx& prx, const string& operat // // We must first wait for other requests to finish. // - while(__is) + while(__os) { _monitor.wait(); } @@ -415,7 +415,7 @@ IceInternal::OutgoingAsync::__send() void IceInternal::OutgoingAsync::warning(const Exception& ex) const { - if(__is) // Don't print anything if cleanup() was already called. + if(__os) // Don't print anything if cleanup() was already called. { if(_reference->getInstance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) { @@ -428,7 +428,7 @@ IceInternal::OutgoingAsync::warning(const Exception& ex) const void IceInternal::OutgoingAsync::warning(const std::exception& ex) const { - if(__is) // Don't print anything if cleanup() was already called. + if(__os) // Don't print anything if cleanup() was already called. { if(_reference->getInstance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) { @@ -441,7 +441,7 @@ IceInternal::OutgoingAsync::warning(const std::exception& ex) const void IceInternal::OutgoingAsync::warning() const { - if(__is) // Don't print anything if cleanup() was already called. + if(__os) // Don't print anything if cleanup() was already called. { if(_reference->getInstance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) { diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index 1d0d1d410af..8418c2f45a4 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -896,21 +896,21 @@ IceInternal::RoutableReference::createConnection(const vector<EndpointIPtr>& all // switch(getEndpointSelection()) { - case Random: - { - random_shuffle(endpoints.begin(), endpoints.end()); - break; - } - case Ordered: - { - // Nothing to do. - break; - } - default: - { - assert(false); - break; - } + case Random: + { + random_shuffle(endpoints.begin(), endpoints.end()); + break; + } + case Ordered: + { + // Nothing to do. + break; + } + default: + { + assert(false); + break; + } } // |