Crash fix.

This commit is contained in:
Gunnar Beutner 2012-05-09 14:10:14 +02:00
parent 42881d4b8a
commit 9b86c7f35f
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ int DiscoveryComponent::DiscoveryTimerHandler(const TimerEventArgs& tea)
if (IsBroker()) {
/* send discovery message to all connected components to
refresh their TTL for this component */
SendDiscoveryMessage("discovery::NewComponent", i->first, Endpoint::Ptr());
SendDiscoveryMessage("discovery::NewComponent", identity, Endpoint::Ptr());
}
Endpoint::Ptr endpoint = endpointManager->GetEndpointByIdentity(identity);