aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs13
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 2d46a5b..c1b5781 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -12134,21 +12134,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12134 protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) 12134 protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID)
12135 { 12135 {
12136 UUID requestID = UUID.Zero; 12136 UUID requestID = UUID.Zero;
12137 if (transferRequest.TransferInfo.SourceType == (int)SourceType.Asset) 12137 int sourceType = transferRequest.TransferInfo.SourceType;
12138
12139 if (sourceType == (int)SourceType.Asset)
12138 { 12140 {
12139 requestID = new UUID(transferRequest.TransferInfo.Params, 0); 12141 requestID = new UUID(transferRequest.TransferInfo.Params, 0);
12140 } 12142 }
12141 else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimInventoryItem) 12143 else if (sourceType == (int)SourceType.SimInventoryItem)
12142 { 12144 {
12143 requestID = new UUID(transferRequest.TransferInfo.Params, 80); 12145 requestID = new UUID(transferRequest.TransferInfo.Params, 80);
12144 } 12146 }
12145 else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimEstate) 12147 else if (sourceType == (int)SourceType.SimEstate)
12146 { 12148 {
12147 requestID = taskID; 12149 requestID = taskID;
12148 } 12150 }
12149 12151
12150 12152// m_log.DebugFormat(
12151// m_log.DebugFormat("[CLIENT]: {0} requesting asset {1}", Name, requestID); 12153// "[LLCLIENTVIEW]: Received transfer request for {0} in {1} type {2} by {3}",
12154// requestID, taskID, (SourceType)sourceType, Name);
12152 12155
12153 12156
12154 //Note, the bool returned from the below function is useless since it is always false. 12157 //Note, the bool returned from the below function is useless since it is always false.