mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed Linux build
This commit is contained in:
parent
e25c17b0b3
commit
fcddf9843d
3 changed files with 4 additions and 4 deletions
|
@ -124,7 +124,7 @@ namespace stream
|
|||
|
||||
void StreamingDestination::HandleNextPacket (const uint8_t * buf, size_t len)
|
||||
{
|
||||
uint32_t sendStreamID = *(uint32_t *)(buf);
|
||||
uint32_t sendStreamID = be32toh (*(uint32_t *)(buf));
|
||||
auto it = m_Streams.find (sendStreamID);
|
||||
if (it != m_Streams.end ())
|
||||
it->second->HandleNextPacket (buf, len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue