summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-10-17 07:42:46 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-10-17 07:42:46 +0000
commit0423ffe605f77dd3bbb6cb77d66c7c78db9eccf3 (patch)
treeb7d3c6c560b030f31c7753773a407e63880ea66b /cpp/src/IceGrid/Database.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=515 (diff)
downloadice-0423ffe605f77dd3bbb6cb77d66c7c78db9eccf3.tar.bz2
ice-0423ffe605f77dd3bbb6cb77d66c7c78db9eccf3.tar.xz
ice-0423ffe605f77dd3bbb6cb77d66c7c78db9eccf3.zip
Fix
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r--cpp/src/IceGrid/Database.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp
index 7df15736697..2ee26fcbc31 100644
--- a/cpp/src/IceGrid/Database.cpp
+++ b/cpp/src/IceGrid/Database.cpp
@@ -687,6 +687,7 @@ Database::getAdapters(const string& id, int& endpointCount)
identity.name = id;
AdapterPrx adpt = AdapterPrx::uncheckedCast(_internalAdapter->createDirectProxy(identity));
adapters.push_back(make_pair(id, adpt));
+ endpointCount = 1;
return adapters;
}