mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
osx fix
This commit is contained in:
parent
1bba5d5c94
commit
bc439cc47f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ namespace datagram
|
||||||
void DatagramDestination::SendDatagramTo (const uint8_t * payload, size_t len, const i2p::data::IdentHash& ident, uint16_t fromPort, uint16_t toPort)
|
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.get();
|
||||||
auto i = owner->GetIdentity().get();
|
auto i = owner->GetIdentity();
|
||||||
uint8_t buf[MAX_DATAGRAM_SIZE];
|
uint8_t buf[MAX_DATAGRAM_SIZE];
|
||||||
auto identityLen = i->ToBuffer (buf, MAX_DATAGRAM_SIZE);
|
auto identityLen = i->ToBuffer (buf, MAX_DATAGRAM_SIZE);
|
||||||
uint8_t * signature = buf + identityLen;
|
uint8_t * signature = buf + identityLen;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue