The fWasDelivered member was never getting initialized, so replying to

messages which did not explicitely request a reply would fail.  The member
is now initialized if an unflattened message has the MSG_FLAG_INCL_REPLY
flag set.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9193 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz 2004-10-05 06:56:41 +00:00
parent a889bb181d
commit 059b143a70

View File

@ -1647,6 +1647,8 @@ status_t BMessage::unflatten_hdr(BDataIO* stream, bool& swap)
checksum_helper.Cache(fReplyTo.target);
checksum_helper.Cache(fReplyTo.team);
fWasDelivered = true;
// Get the "big flags"
uint8 bigFlags;
// Get the preferred flag