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.
0.7.1-dev
Justin Clark-Casey (justincc) 2011-05-31 19:57:08 +01:00
parent 3d76f133ea
commit a81b3e4b41
1 changed files with 1 additions and 0 deletions

View File

@ -1464,6 +1464,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);
}