Attempt a workaround to the network layer segfault

This commit is contained in:
Perttu Ahola 2011-10-30 11:59:23 +02:00
parent c349708eab
commit 6aab526989
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ void Connection::receive()
// TODO: We can not know how many layers of header there are. // TODO: We can not know how many layers of header there are.
// For now, just assume there are no other than the base headers. // For now, just assume there are no other than the base headers.
u32 packet_maxsize = datasize + BASE_HEADER_SIZE; u32 packet_maxsize = datasize + BASE_HEADER_SIZE;
Buffer<u8> packetdata(packet_maxsize); SharedBuffer<u8> packetdata(packet_maxsize);
bool single_wait_done = false; bool single_wait_done = false;