Commit 46139689 authored by Pavel Vainerman's avatar Pavel Vainerman

(unet2): исправил ещё один баг

parent 634304c8
......@@ -194,7 +194,7 @@ void UNetSender::real_send()
// cout << "************* send header: " << mypack.msg.header << endl;
// size_t sz = mypack.byte_size() + sizeof(UniSetUDP::UDPHeader);
size_t sz = sizeof(UniSetUDP::UDPMessage);
size_t sz = sizeof(UniSetUDP::DataPacket);
if( !udp->isPending(ost::Socket::pendingOutput) )
return;
......
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