aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Kortstiege <mkortstiege@users.noreply.github.com>2015-10-18 11:13:23 +0200
committerMatthias Kortstiege <mkortstiege@users.noreply.github.com>2015-10-18 11:13:23 +0200
commit42e3080e3f41c9045b063d0ef83c5b90a2521a2d (patch)
tree823feb4258897d3aec545033def7da9579641afd
parent3acbdec94ae0d2b0debce4d54d37ef83be476fb1 (diff)
parent4c251a485b06c01b1112e625ece41bbed6756f55 (diff)
Merge pull request #8241 from mkortstiege/texture-logging
[texture] redact username/password when texture loading fails
-rw-r--r--xbmc/guilib/Texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/Texture.cpp b/xbmc/guilib/Texture.cpp
index 10b08454f9..5cca9a0a9f 100644
--- a/xbmc/guilib/Texture.cpp
+++ b/xbmc/guilib/Texture.cpp
@@ -274,7 +274,7 @@ bool CBaseTexture::LoadFromFileInternal(const std::string& texturePath, unsigned
pImage = ImageFactory::CreateFallbackLoader(texturePath);
if (!LoadIImage(pImage, (unsigned char *)buf.get(), buf.size(), width, height))
{
- CLog::Log(LOGDEBUG, "%s - Load of %s failed.", __FUNCTION__, texturePath.c_str());
+ CLog::Log(LOGDEBUG, "%s - Load of %s failed.", __FUNCTION__, CURL::GetRedacted(texturePath).c_str());
delete pImage;
return false;
}