summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-10-18 11:04:30 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-10-18 11:04:30 +0200
commit276c7279d4743b2947b2a5bbe0ded0e44d051a96 (patch)
tree94ac486c6db06792b26a00c980890e1800e9ea4c /cpp/src/Ice/Reference.cpp
parentMore WinRT build setting and system fixes (diff)
downloadice-276c7279d4743b2947b2a5bbe0ded0e44d051a96.tar.bz2
ice-276c7279d4743b2947b2a5bbe0ded0e44d051a96.tar.xz
ice-276c7279d4743b2947b2a5bbe0ded0e44d051a96.zip
Fixed ICE-4591, better acceptor tracing
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp
index 3822d8afee6..dadbdf8af0d 100644
--- a/cpp/src/Ice/Reference.cpp
+++ b/cpp/src/Ice/Reference.cpp
@@ -1900,8 +1900,8 @@ struct EndpointIsIncompatible : public unary_function<EndpointIPtr, bool>
operator()(const EndpointIPtr& p) const
{
// If the enpoint doesn't support the proxy encoding or protocol, it's incompatible.
- return !(isSupported(_reference->getEncoding(), p->encoding()) &&
- isSupported(currentProtocol, p->protocol()));
+ return !(isSupported(_reference->getEncoding(), p->encodingVersion()) &&
+ isSupported(currentProtocol, p->protocolVersion()));
}
};