From 7675c75fa107e9c023708e51354656d3949fde85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 13 Jun 2006 22:23:19 +0000 Subject: [PATCH] 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 --- src/kits/app/Message.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/kits/app/Message.cpp b/src/kits/app/Message.cpp index 71e38cc552..a20344ddc6 100644 --- a/src/kits/app/Message.cpp +++ b/src/kits/app/Message.cpp @@ -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();