diff options
author | Max Kellermann <max@duempel.org> | 2014-08-07 15:05:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-07 16:08:02 +0200 |
commit | db6db517424e09bab9a12934e9df6807a7049926 (patch) | |
tree | 6525302356ec79acb6bebd179a13b760b8dcb279 /src/LogBackend.cxx | |
parent | 981be7956b86c4bcf449ff87082f422721a6e8c3 (diff) | |
download | mpd-db6db517424e09bab9a12934e9df6807a7049926.tar.gz mpd-db6db517424e09bab9a12934e9df6807a7049926.tar.xz mpd-db6db517424e09bab9a12934e9df6807a7049926.zip |
util/CharUtil: add IsWhitespaceFast()
Diffstat (limited to '')
-rw-r--r-- | src/LogBackend.cxx | 2 |
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; |