move FillI2NPMessageHeader into I2NPMessage

This commit is contained in:
orignal 2015-07-03 11:11:07 -04:00
parent 0c8fb376db
commit bf14b7da9a
9 changed files with 33 additions and 35 deletions

View file

@ -780,7 +780,7 @@ namespace stream
htobe16buf (buf + 6, m_Port); // destination port
buf[9] = i2p::client::PROTOCOL_TYPE_STREAMING; // streaming protocol
msg->len += size + 4;
FillI2NPMessageHeader (msg.get (), eI2NPData); // TODO:
msg->FillI2NPMessageHeader (eI2NPData);
return msg;
}