diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-01-15 10:33:18 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-01-15 10:33:18 +0100 |
commit | 9ee1bf93d1837e48ccb8b93d5b219bf48a1ba909 (patch) | |
tree | 387bf0e45be6e75e2af2fcf36eb7588000578e2c /cpp/src/IceGrid/LocatorI.cpp | |
parent | Fixed add-in unexpected exception (diff) | |
download | ice-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.cpp | 2 |
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__, |