diff options
author | Justin Clark-Casey (justincc) | 2011-05-31 19:57:08 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-05-31 19:57:08 +0100 |
commit | c67fa72d5628725581b61b7a16c37955e154006d (patch) | |
tree | 0e7e008b2dab288e109c7a7960edf46f8d471f0e /OpenSim/Region | |
parent | Fill in the new OwnerData field in the LLUDP ScriptDialog message. (diff) | |
download | opensim-SC-c67fa72d5628725581b61b7a16c37955e154006d.zip opensim-SC-c67fa72d5628725581b61b7a16c37955e154006d.tar.gz opensim-SC-c67fa72d5628725581b61b7a16c37955e154006d.tar.bz2 opensim-SC-c67fa72d5628725581b61b7a16c37955e154006d.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 821a370..d8fcb62 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -1469,6 +1469,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1469 | money.MoneyData.TransactionSuccess = success; | 1469 | money.MoneyData.TransactionSuccess = success; |
1470 | money.MoneyData.Description = description; | 1470 | money.MoneyData.Description = description; |
1471 | money.MoneyData.MoneyBalance = balance; | 1471 | money.MoneyData.MoneyBalance = balance; |
1472 | money.TransactionInfo.ItemDescription = Util.StringToBytes256("NONE"); | ||
1472 | OutPacket(money, ThrottleOutPacketType.Task); | 1473 | OutPacket(money, ThrottleOutPacketType.Task); |
1473 | } | 1474 | } |
1474 | 1475 | ||