fixed misalignment

This commit is contained in:
orignal 2014-12-30 15:33:11 -05:00
parent 7bfb73dacf
commit 583838e2c2
2 changed files with 8 additions and 5 deletions

View file

@ -526,8 +526,7 @@ namespace garlic
void GarlicDestination::HandleDeliveryStatusMessage (I2NPMessage * msg)
{
I2NPDeliveryStatusMsg * deliveryStatus = (I2NPDeliveryStatusMsg *)msg->GetPayload ();
uint32_t msgID = be32toh (deliveryStatus->msgID);
uint32_t msgID = bufbe32toh (msg->GetPayload ());
{
auto it = m_CreatedSessions.find (msgID);
if (it != m_CreatedSessions.end ())