diff options
Diffstat (limited to 'linden/indra/llinventory/llparcel.cpp')
-rw-r--r-- | linden/indra/llinventory/llparcel.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/linden/indra/llinventory/llparcel.cpp b/linden/indra/llinventory/llparcel.cpp index 2b9c201..d2f3a87 100644 --- a/linden/indra/llinventory/llparcel.cpp +++ b/linden/indra/llinventory/llparcel.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2002-2008, Linden Research, Inc. | 7 | * Copyright (c) 2002-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -1398,7 +1398,7 @@ void LLParcel::unpackMessage(LLMessageSystem* msg) | |||
1398 | 1398 | ||
1399 | // New Media Data | 1399 | // New Media Data |
1400 | // Note: the message has been converted to TCP | 1400 | // Note: the message has been converted to TCP |
1401 | if(msg->getNumberOfBlocks("MediaData") > 0) | 1401 | if(msg->has("MediaData")) |
1402 | { | 1402 | { |
1403 | msg->getString("MediaData", "MediaDesc", buffer); | 1403 | msg->getString("MediaData", "MediaDesc", buffer); |
1404 | setMediaDesc(buffer); | 1404 | setMediaDesc(buffer); |
@@ -1761,7 +1761,11 @@ void LLParcel::startSale(const LLUUID& buyer_id, BOOL is_buyer_group) | |||
1761 | setCleanOtherTime(0); | 1761 | setCleanOtherTime(0); |
1762 | } | 1762 | } |
1763 | 1763 | ||
1764 | void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id) | 1764 | void LLParcel::expireSale( |
1765 | U32& type, | ||
1766 | U8& flags, | ||
1767 | LLUUID& from_id, | ||
1768 | LLUUID& to_id) | ||
1765 | { | 1769 | { |
1766 | mSaleTimerExpires.setTimerExpirySec(0.0); | 1770 | mSaleTimerExpires.setTimerExpirySec(0.0); |
1767 | mSaleTimerExpires.stop(); | 1771 | mSaleTimerExpires.stop(); |
@@ -1777,8 +1781,10 @@ void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id) | |||
1777 | to_id.setNull(); | 1781 | to_id.setNull(); |
1778 | } | 1782 | } |
1779 | 1783 | ||
1780 | void LLParcel::completeSale(U32& type, U8& flags, | 1784 | void LLParcel::completeSale( |
1781 | LLUUID& to_id) | 1785 | U32& type, |
1786 | U8& flags, | ||
1787 | LLUUID& to_id) | ||
1782 | { | 1788 | { |
1783 | mSaleTimerExpires.setTimerExpirySec(0.0); | 1789 | mSaleTimerExpires.setTimerExpirySec(0.0); |
1784 | mSaleTimerExpires.stop(); | 1790 | mSaleTimerExpires.stop(); |