mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 20:44:39 +00:00
Fixed visibility of variable outboundTunnel
This commit is contained in:
parent
e5e09c9b51
commit
d025ba2793
2
I2CP.cpp
2
I2CP.cpp
@ -109,7 +109,7 @@ namespace client
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel ();
|
outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel ();
|
||||||
auto leases = remote->GetNonExpiredLeases ();
|
auto leases = remote->GetNonExpiredLeases ();
|
||||||
if (!leases.empty ())
|
if (!leases.empty ())
|
||||||
remoteLease = leases[rand () % leases.size ()];
|
remoteLease = leases[rand () % leases.size ()];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user