aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
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 */