aboutsummaryrefslogtreecommitdiffstats
path: root/src/LogBackend.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-07 15:05:27 +0200
committerMax Kellermann <max@duempel.org>2014-08-07 16:08:02 +0200
commitdb6db517424e09bab9a12934e9df6807a7049926 (patch)
tree6525302356ec79acb6bebd179a13b760b8dcb279 /src/LogBackend.cxx
parent981be7956b86c4bcf449ff87082f422721a6e8c3 (diff)
downloadmpd-db6db517424e09bab9a12934e9df6807a7049926.tar.gz
mpd-db6db517424e09bab9a12934e9df6807a7049926.tar.xz
mpd-db6db517424e09bab9a12934e9df6807a7049926.zip
util/CharUtil: add IsWhitespaceFast()
Diffstat (limited to 'src/LogBackend.cxx')
-rw-r--r--src/LogBackend.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LogBackend.cxx b/src/LogBackend.cxx
index 3cd907179..6f1794521 100644
--- a/src/LogBackend.cxx
+++ b/src/LogBackend.cxx
@@ -120,7 +120,7 @@ chomp_length(const char *p)
{
size_t length = strlen(p);
- while (length > 0 && IsWhitespaceOrNull(p[length - 1]))
+ while (length > 0 && IsWhitespaceFast(p[length - 1]))
--length;
return (int)length;