Fix build when not using Message4.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15056 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2005-11-21 02:40:49 +00:00
parent e489029756
commit 174459d703

View File

@ -926,7 +926,8 @@ BMessage::Unflatten(const char* buffer)
if (magic == kMessageMagicDano || magic == kMessageMagicDanoSwapped) {
// dano style message
BMemoryIO memoryStream(buffer, BPrivate::dano_message_size(buffer));
BMemoryIO memoryStream(buffer,
BPrivate::dano_message_flattened_size(buffer));
return Unflatten(&memoryStream);
}