summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/LocatorI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-01-15 10:33:18 +0100
committerBenoit Foucher <benoit@zeroc.com>2013-01-15 10:33:18 +0100
commit9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909 (patch)
tree387bf0e45be6e75e2af2fcf36eb7588000578e2c /cpp/src/IceGrid/LocatorI.cpp
parentFixed add-in unexpected exception (diff)
downloadice-9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909.tar.bz2
ice-9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909.tar.xz
ice-9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909.zip
Fixed ICE-5126 - Improved client side encoding checks
Diffstat (limited to 'cpp/src/IceGrid/LocatorI.cpp')
-rw-r--r--cpp/src/IceGrid/LocatorI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/LocatorI.cpp b/cpp/src/IceGrid/LocatorI.cpp
index 2ebc6fbc22a..798f207dfab 100644
--- a/cpp/src/IceGrid/LocatorI.cpp
+++ b/cpp/src/IceGrid/LocatorI.cpp
@@ -187,7 +187,7 @@ public:
//
// Ensure the server supports the request encoding.
//
- if(proxy->ice_getEncodingVersion() < _encoding)
+ if(!IceInternal::isSupported(_encoding, proxy->ice_getEncodingVersion()))
{
exception(id, Ice::UnsupportedEncodingException(__FILE__,
__LINE__,