diff options
author | Marc Laukien <marc@zeroc.com> | 2002-10-12 14:29:29 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-10-12 14:29:29 +0000 |
commit | cb60212ec3c6ae9cd94a6e0cf2689938f7c10caa (patch) | |
tree | 501bd58bb57e60445d584fbabe1115be160481e6 /cpp/src/Ice/Direct.cpp | |
parent | validate identities (diff) | |
download | ice-cb60212ec3c6ae9cd94a6e0cf2689938f7c10caa.tar.bz2 ice-cb60212ec3c6ae9cd94a6e0cf2689938f7c10caa.tar.xz ice-cb60212ec3c6ae9cd94a6e0cf2689938f7c10caa.zip |
fixes
Diffstat (limited to 'cpp/src/Ice/Direct.cpp')
-rw-r--r-- | cpp/src/Ice/Direct.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Direct.cpp b/cpp/src/Ice/Direct.cpp index 27ba75fd9db..fa8ff75677a 100644 --- a/cpp/src/Ice/Direct.cpp +++ b/cpp/src/Ice/Direct.cpp @@ -27,7 +27,7 @@ IceInternal::Direct::Direct(const Current& current) : try { _servant = _current.adapter->identityToServant(_current.id); - + if(!_servant && !_current.id.category.empty()) { _locator = _current.adapter->findServantLocator(_current.id.category); @@ -36,7 +36,7 @@ IceInternal::Direct::Direct(const Current& current) : _servant = _locator->locate(_current, _cookie); } } - + if(!_servant) { _locator = _current.adapter->findServantLocator(""); |