summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/LocatorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/LocatorI.cpp')
-rw-r--r--cpp/src/IceGrid/LocatorI.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/LocatorI.cpp b/cpp/src/IceGrid/LocatorI.cpp
index 985863972f4..ff26f903d69 100644
--- a/cpp/src/IceGrid/LocatorI.cpp
+++ b/cpp/src/IceGrid/LocatorI.cpp
@@ -271,8 +271,7 @@ LocatorI::Request::sendResponse()
}
Ice::ObjectPrx proxy = _locator->getCommunicator()->stringToProxy("dummy:default");
- proxy->ice_newEndpoints(endpoints);
- _amdCB->ice_response(proxy);
+ _amdCB->ice_response(proxy->ice_newEndpoints(endpoints));
}
}