1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 08:14:15 +00:00

fixed crash

This commit is contained in:
orignal 2014-08-12 18:42:53 -04:00
parent 2e1a8552bf
commit 377d390dff

View File

@ -309,7 +309,7 @@ namespace stream
size += 2; // options size size += 2; // options size
p.len = size; p.len = size;
std::vector<Packet *> { &p }; SendPackets (std::vector<Packet *> { &p });
LogPrint ("Quick Ack sent"); LogPrint ("Quick Ack sent");
} }
@ -419,6 +419,7 @@ namespace stream
m_CurrentRemoteLease.tunnelGateway, m_CurrentRemoteLease.tunnelID, m_CurrentRemoteLease.tunnelGateway, m_CurrentRemoteLease.tunnelID,
msg msg
}); });
leaseSet = nullptr; // send leaseSet only one time
} }
outboundTunnel->SendTunnelDataMsg (msgs); outboundTunnel->SendTunnelDataMsg (msgs);
} }