send multiple messages

This commit is contained in:
orignal 2014-01-20 18:37:51 -05:00
parent 91199a9053
commit 30ecf1ef8c
4 changed files with 28 additions and 10 deletions

View file

@ -41,12 +41,12 @@ namespace tunnel
LogPrint ("Delivery type tunnel");
m.tunnelID = be32toh (*(uint32_t *)fragment);
fragment += 4; // tunnelID
memcpy (m.hash, fragment, 32);
m.hash = i2p::data::IdentHash (fragment);
fragment += 32; // hash
break;
case eDeliveryTypeRouter: // 2
LogPrint ("Delivery type router");
memcpy (m.hash, fragment, 32);
m.hash = i2p::data::IdentHash (fragment);
fragment += 32; // to hash
break;
default: