From 9b86c7f35f807dedf5b5c01d5c254d2446fffdbe Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 9 May 2012 14:10:14 +0200 Subject: [PATCH] Crash fix. --- components/discovery/discoverycomponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/discovery/discoverycomponent.cpp b/components/discovery/discoverycomponent.cpp index 9f85a31dc..bd1f3e1bf 100644 --- a/components/discovery/discoverycomponent.cpp +++ b/components/discovery/discoverycomponent.cpp @@ -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); -- 2.50.1