From fac5502c554aab490dee245567d19136c8bd3fa0 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 19 Aug 2020 21:03:27 +0000 Subject: [PATCH] if Router::SendToOrQueue fails propagate that failure in LRCM handler --- llarp/path/path_context.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llarp/path/path_context.cpp b/llarp/path/path_context.cpp index 5edd2dcf2..f5dc54231 100644 --- a/llarp/path/path_context.cpp +++ b/llarp/path/path_context.cpp @@ -88,10 +88,9 @@ namespace llarp LogDebug("forwarding LRCM to ", nextHop); - m_Router->SendToOrQueue(nextHop, msg.get(), handler); - - return true; + return m_Router->SendToOrQueue(nextHop, msg.get(), handler); } + template < typename Lock_t, typename Map_t,