aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
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/client
parent981be7956b86c4bcf449ff87082f422721a6e8c3 (diff)
downloadmpd-db6db517424e09bab9a12934e9df6807a7049926.tar.gz
mpd-db6db517424e09bab9a12934e9df6807a7049926.tar.xz
mpd-db6db517424e09bab9a12934e9df6807a7049926.zip
util/CharUtil: add IsWhitespaceFast()
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientRead.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientRead.cxx b/src/client/ClientRead.cxx
index 1ec6d29d5..ae8eda8bb 100644
--- a/src/client/ClientRead.cxx
+++ b/src/client/ClientRead.cxx
@@ -39,7 +39,7 @@ Client::OnSocketInput(void *data, size_t length)
BufferedSocket::ConsumeInput(newline + 1 - p);
/* skip whitespace at the end of the line */
- while (newline > p && IsWhitespaceOrNull(newline[-1]))
+ while (newline > p && IsWhitespaceFast(newline[-1]))
--newline;
/* terminate the string at the end of the line */