When sending an LLUDP MoneyBalanceReply message, fill out the transaction item description even though there is none.

This is to deal with a problem in libomv where calling ToBytes() without this crashes because of an ItemDescription.Lnegth dereference.
bulletsim
Justin Clark-Casey (justincc) 2011-05-31 19:57:08 +01:00
parent 8129e64e2a
commit c67fa72d56
1 changed files with 1 additions and 0 deletions

View File

@ -1469,6 +1469,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
money.MoneyData.TransactionSuccess = success;
money.MoneyData.Description = description;
money.MoneyData.MoneyBalance = balance;
money.TransactionInfo.ItemDescription = Util.StringToBytes256("NONE");
OutPacket(money, ThrottleOutPacketType.Task);
}