1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-31 04:44:13 +00:00
This commit is contained in:
Jeff Becker 2016-08-21 22:00:31 -04:00
parent bc439cc47f
commit b1e3f88704
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -22,7 +22,7 @@ namespace datagram
void DatagramDestination::SendDatagramTo (const uint8_t * payload, size_t len, const i2p::data::IdentHash& ident, uint16_t fromPort, uint16_t toPort)
{
auto owner = m_Owner.get();
auto owner = m_Owner;
auto i = owner->GetIdentity();
uint8_t buf[MAX_DATAGRAM_SIZE];
auto identityLen = i->ToBuffer (buf, MAX_DATAGRAM_SIZE);