diff options
author | Melanie | 2012-05-10 00:42:10 +0100 |
---|---|---|
committer | Melanie | 2012-05-10 00:42:10 +0100 |
commit | a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a (patch) | |
tree | e14d17475f8dcf643f4153f882f92e89b869a686 /OpenSim/Region/ClientStack | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Where necessary, rename OpenSim/Services/Connectors/*.cs files to reflect the... (diff) | |
download | opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.zip opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.tar.gz opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.tar.bz2 opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 13 |
2 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index f14beb0..d397893 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -320,7 +320,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
320 | 320 | ||
321 | m_HostCapsObj.HttpListener.AddStreamHandler( | 321 | m_HostCapsObj.HttpListener.AddStreamHandler( |
322 | new BinaryStreamHandler( | 322 | new BinaryStreamHandler( |
323 | "POST", capsBase + uploaderPath, uploader.uploaderCaps, "BunchOfCaps", null)); | 323 | "POST", capsBase + uploaderPath, uploader.uploaderCaps, "TaskInventoryScriptUpdater", null)); |
324 | 324 | ||
325 | string protocol = "http://"; | 325 | string protocol = "http://"; |
326 | 326 | ||
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index bb76717..b354cc0 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12109,21 +12109,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12109 | protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) | 12109 | protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) |
12110 | { | 12110 | { |
12111 | UUID requestID = UUID.Zero; | 12111 | UUID requestID = UUID.Zero; |
12112 | if (transferRequest.TransferInfo.SourceType == (int)SourceType.Asset) | 12112 | int sourceType = transferRequest.TransferInfo.SourceType; |
12113 | |||
12114 | if (sourceType == (int)SourceType.Asset) | ||
12113 | { | 12115 | { |
12114 | requestID = new UUID(transferRequest.TransferInfo.Params, 0); | 12116 | requestID = new UUID(transferRequest.TransferInfo.Params, 0); |
12115 | } | 12117 | } |
12116 | else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimInventoryItem) | 12118 | else if (sourceType == (int)SourceType.SimInventoryItem) |
12117 | { | 12119 | { |
12118 | requestID = new UUID(transferRequest.TransferInfo.Params, 80); | 12120 | requestID = new UUID(transferRequest.TransferInfo.Params, 80); |
12119 | } | 12121 | } |
12120 | else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimEstate) | 12122 | else if (sourceType == (int)SourceType.SimEstate) |
12121 | { | 12123 | { |
12122 | requestID = taskID; | 12124 | requestID = taskID; |
12123 | } | 12125 | } |
12124 | 12126 | ||
12125 | 12127 | // m_log.DebugFormat( | |
12126 | // m_log.DebugFormat("[CLIENT]: {0} requesting asset {1}", Name, requestID); | 12128 | // "[LLCLIENTVIEW]: Received transfer request for {0} in {1} type {2} by {3}", |
12129 | // requestID, taskID, (SourceType)sourceType, Name); | ||
12127 | 12130 | ||
12128 | 12131 | ||
12129 | //Note, the bool returned from the below function is useless since it is always false. | 12132 | //Note, the bool returned from the below function is useless since it is always false. |