summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Direct.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-09-15 13:39:49 +0000
committerMichi Henning <michi@zeroc.com>2005-09-15 13:39:49 +0000
commit9cc0a70d130e7f44594994353fb233b81954ce4a (patch)
tree0af9d643ffd83dff9438c6fb11843a60a2ffc2f7 /cpp/src/Ice/Direct.cpp
parentFix (diff)
downloadice-9cc0a70d130e7f44594994353fb233b81954ce4a.tar.bz2
ice-9cc0a70d130e7f44594994353fb233b81954ce4a.tar.xz
ice-9cc0a70d130e7f44594994353fb233b81954ce4a.zip
Fix to fix for bug 368
Diffstat (limited to 'cpp/src/Ice/Direct.cpp')
-rw-r--r--cpp/src/Ice/Direct.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/Direct.cpp b/cpp/src/Ice/Direct.cpp
index ac87369a2ae..971b5d82a91 100644
--- a/cpp/src/Ice/Direct.cpp
+++ b/cpp/src/Ice/Direct.cpp
@@ -43,6 +43,10 @@ IceInternal::Direct::Direct(const Current& current) :
if(!_servant)
{
_locator = servantManager->findServantLocator(_current.id.category);
+ if(!_locator && !_current.id.category.empty())
+ {
+ _locator = servantManager->findServantLocator("");
+ }
if(_locator)
{
_servant = _locator->locate(_current, _cookie);