Commit 634304c8 authored by Pavel Vainerman's avatar Pavel Vainerman

(unet2): подправил ошибку

parent cb73b88e
......@@ -335,7 +335,7 @@ bool UNetReceiver::recv()
}
// size_t sz = pack.msg.header.acount * sizeof(UniSetUDP::UDPAData) + sizeof(UniSetUDP::UDPHeader);
size_t sz = sizeof(UniSetUDP::UDPMessage);
size_t sz = sizeof(UniSetUDP::DataPacket);
if( ret < sz )
{
dlog[Debug::CRIT] << myname << "(receive): FAILED data ret=" << ret << " sizeof=" << sz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment