don't crash

pull/68/head
Jeff Becker 6 years ago
parent 2bd2815290
commit 5cbfccfff4
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -594,7 +594,7 @@ llarp_router::GetLinkWithSessionByPubkey(const llarp::RouterID &pubkey)
}
void
llarp_router::FlushOutboundFor(const llarp::RouterID &remote,
llarp_router::FlushOutboundFor(const llarp::RouterID remote,
llarp::ILinkLayer *chosen)
{
llarp::LogDebug("Flush outbound for ", remote);

@ -249,7 +249,7 @@ struct llarp_router
/// manually flush outbound message queue for just 1 router
void
FlushOutboundFor(const llarp::RouterID &remote,
FlushOutboundFor(const llarp::RouterID remote,
llarp::ILinkLayer *chosen = nullptr);
/// manually discard all pending messages to remote router

Loading…
Cancel
Save