diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/GridAssetClient.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs index 9cccf66..1c947dc 100644 --- a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs +++ b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs | |||
@@ -63,6 +63,9 @@ namespace OpenSim.Framework.Communications.Cache | |||
63 | 63 | ||
64 | Stream s = rc.Request(); | 64 | Stream s = rc.Request(); |
65 | 65 | ||
66 | if (s == null) | ||
67 | return null; | ||
68 | |||
66 | if (s.Length > 0) | 69 | if (s.Length > 0) |
67 | { | 70 | { |
68 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); | 71 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); |