diff options
author | Matthias Kortstiege <mkortstiege@users.noreply.github.com> | 2015-10-18 11:13:23 +0200 |
---|---|---|
committer | Matthias Kortstiege <mkortstiege@users.noreply.github.com> | 2015-10-18 11:13:23 +0200 |
commit | 42e3080e3f41c9045b063d0ef83c5b90a2521a2d (patch) | |
tree | 823feb4258897d3aec545033def7da9579641afd | |
parent | 3acbdec94ae0d2b0debce4d54d37ef83be476fb1 (diff) | |
parent | 4c251a485b06c01b1112e625ece41bbed6756f55 (diff) |
Merge pull request #8241 from mkortstiege/texture-logging
[texture] redact username/password when texture loading fails
-rw-r--r-- | xbmc/guilib/Texture.cpp | 2 |
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; } |