diff options
author | UbitUmarov | 2016-12-26 19:38:13 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-26 19:38:13 +0000 |
commit | 65b4e17a80f5417213ab652ce56d1946d46b2471 (patch) | |
tree | e0ac52d60c0efd6748071ab7efee0b72a649d5f0 /OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs | |
parent | fix typos (thanks you know who) (diff) | |
download | opensim-SC_OLD-65b4e17a80f5417213ab652ce56d1946d46b2471.zip opensim-SC_OLD-65b4e17a80f5417213ab652ce56d1946d46b2471.tar.gz opensim-SC_OLD-65b4e17a80f5417213ab652ce56d1946d46b2471.tar.bz2 opensim-SC_OLD-65b4e17a80f5417213ab652ce56d1946d46b2471.tar.xz |
robust textures add missing returns or redir case
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs index 518f74e..5f86ed4 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs | |||
@@ -80,6 +80,7 @@ namespace OpenSim.Capabilities.Handlers | |||
80 | { | 80 | { |
81 | m_log.Error("[GETTEXTURE]: Cannot fetch texture " + textureStr + " without an asset service"); | 81 | m_log.Error("[GETTEXTURE]: Cannot fetch texture " + textureStr + " without an asset service"); |
82 | httpResponse.StatusCode = (int)System.Net.HttpStatusCode.NotFound; | 82 | httpResponse.StatusCode = (int)System.Net.HttpStatusCode.NotFound; |
83 | return null; | ||
83 | } | 84 | } |
84 | 85 | ||
85 | UUID textureID; | 86 | UUID textureID; |
@@ -150,6 +151,7 @@ namespace OpenSim.Capabilities.Handlers | |||
150 | return true; | 151 | return true; |
151 | } | 152 | } |
152 | WriteTextureData(httpRequest, httpResponse, texture, format); | 153 | WriteTextureData(httpRequest, httpResponse, texture, format); |
154 | return true; | ||
153 | } | 155 | } |
154 | else | 156 | else |
155 | { | 157 | { |