Browse Source

improved exploratory

pull/93/head
orignal 10 years ago
parent
commit
2640dff22a
  1. 2
      NetDb.cpp
  2. 2
      Tunnel.cpp
  3. 2
      TunnelPool.cpp

2
NetDb.cpp

@ -481,6 +481,8 @@ namespace data @@ -481,6 +481,8 @@ namespace data
dest->GetLastRouter ()->GetIdentHash (), 0, msg
});
}
else
RequestDestination (router, false, pool);
}
else
LogPrint ("Bayan");

2
Tunnel.cpp

@ -273,12 +273,12 @@ namespace tunnel @@ -273,12 +273,12 @@ namespace tunnel
OutboundTunnel * tunnel = nullptr;
for (auto it: m_OutboundTunnels)
{
if (i >= ind) break;
if (it->IsEstablished ())
{
tunnel = it;
i++;
}
if (i >= ind) break;
}
return tunnel;
}

2
TunnelPool.cpp

@ -97,12 +97,12 @@ namespace tunnel @@ -97,12 +97,12 @@ namespace tunnel
typename TTunnels::value_type tunnel = nullptr;
for (auto it: tunnels)
{
if (i >= ind) break;
if (it->IsEstablished ())
{
tunnel = it;
i++;
}
if (i >= ind) break;
}
return tunnel;
}

Loading…
Cancel
Save