Skip to content

Commit

Permalink
fxied crash at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Jan 11, 2015
1 parent d8942a3 commit e3e0702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NetDb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,8 @@ namespace data
if (num > 0)
{
auto pool = i2p::tunnel::tunnels.GetExploratoryPool ();
auto outbound = pool->GetNextOutboundTunnel ();
auto inbound = pool->GetNextInboundTunnel ();
auto outbound = pool ? pool->GetNextOutboundTunnel () : nullptr;
auto inbound = pool ? pool->GetNextInboundTunnel () : nullptr;
std::vector<i2p::tunnel::TunnelMessageBlock> msgs;
if (!dest->IsExploratory ())
{
Expand Down

0 comments on commit e3e0702

Please sign in to comment.