avoid adding _previous_ on forwarded synchronous messages

tested with ForwardMessageTest.cpp
well I hope it doesn't break anything :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17831 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-06-13 22:23:19 +00:00
parent a3fef6d1fc
commit 7675c75fa1

View File

@ -1906,9 +1906,7 @@ BMessage::_SendMessage(port_id port, int32 token, bigtime_t timeout,
if (replyRequired)
header->flags |= MESSAGE_FLAG_REPLY_REQUIRED;
else
header->flags &= ~MESSAGE_FLAG_REPLY_REQUIRED;
header->target = token;
header->reply_team = replyToPrivate.Team();
header->reply_port = replyToPrivate.Port();