diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 13 |
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 7db6014..9ae8dfb 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12129,21 +12129,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12129 | protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) | 12129 | protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) |
12130 | { | 12130 | { |
12131 | UUID requestID = UUID.Zero; | 12131 | UUID requestID = UUID.Zero; |
12132 | if (transferRequest.TransferInfo.SourceType == (int)SourceType.Asset) | 12132 | int sourceType = transferRequest.TransferInfo.SourceType; |
12133 | |||
12134 | if (sourceType == (int)SourceType.Asset) | ||
12133 | { | 12135 | { |
12134 | requestID = new UUID(transferRequest.TransferInfo.Params, 0); | 12136 | requestID = new UUID(transferRequest.TransferInfo.Params, 0); |
12135 | } | 12137 | } |
12136 | else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimInventoryItem) | 12138 | else if (sourceType == (int)SourceType.SimInventoryItem) |
12137 | { | 12139 | { |
12138 | requestID = new UUID(transferRequest.TransferInfo.Params, 80); | 12140 | requestID = new UUID(transferRequest.TransferInfo.Params, 80); |
12139 | } | 12141 | } |
12140 | else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimEstate) | 12142 | else if (sourceType == (int)SourceType.SimEstate) |
12141 | { | 12143 | { |
12142 | requestID = taskID; | 12144 | requestID = taskID; |
12143 | } | 12145 | } |
12144 | 12146 | ||
12145 | 12147 | // m_log.DebugFormat( | |
12146 | // m_log.DebugFormat("[CLIENT]: {0} requesting asset {1}", Name, requestID); | 12148 | // "[LLCLIENTVIEW]: Received transfer request for {0} in {1} type {2} by {3}", |
12149 | // requestID, taskID, (SourceType)sourceType, Name); | ||
12147 | 12150 | ||
12148 | 12151 | ||
12149 | //Note, the bool returned from the below function is useless since it is always false. | 12152 | //Note, the bool returned from the below function is useless since it is always false. |