diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetCache.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index d79645e..73aa6ba 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -503,7 +503,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
503 | req.Params = transferRequest.TransferInfo.Params; | 503 | req.Params = transferRequest.TransferInfo.Params; |
504 | req.AssetInf = new AssetInfo(asset); | 504 | req.AssetInf = new AssetInfo(asset); |
505 | req.NumPackets = CalculateNumPackets(asset.Data); | 505 | req.NumPackets = CalculateNumPackets(asset.Data); |
506 | lock(AssetRequests) AssetRequests.Add(req); | 506 | lock (AssetRequests) AssetRequests.Add(req); |
507 | } | 507 | } |
508 | 508 | ||
509 | /// <summary> | 509 | /// <summary> |
@@ -526,7 +526,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
526 | 526 | ||
527 | for (int i = 0; i < num; i++) | 527 | for (int i = 0; i < num; i++) |
528 | { | 528 | { |
529 | lock(AssetRequests) | 529 | lock (AssetRequests) |
530 | { | 530 | { |
531 | req = AssetRequests[0]; | 531 | req = AssetRequests[0]; |
532 | AssetRequests.RemoveAt(0); | 532 | AssetRequests.RemoveAt(0); |