From 65b4e17a80f5417213ab652ce56d1946d46b2471 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 26 Dec 2016 19:38:13 +0000 Subject: [PATCH] robust textures add missing returns or redir case --- .../Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs index 518f74ebc8..5f86ed4dbf 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureRobustHandler.cs @@ -80,6 +80,7 @@ namespace OpenSim.Capabilities.Handlers { m_log.Error("[GETTEXTURE]: Cannot fetch texture " + textureStr + " without an asset service"); httpResponse.StatusCode = (int)System.Net.HttpStatusCode.NotFound; + return null; } UUID textureID; @@ -150,6 +151,7 @@ namespace OpenSim.Capabilities.Handlers return true; } WriteTextureData(httpRequest, httpResponse, texture, format); + return true; } else {