Commit 39baa4e3 authored by Max Kellermann's avatar Max Kellermann

client/Process: more strict syntax check

parent f339a53e
......@@ -55,8 +55,8 @@ Client::ProcessCommandList(bool list_ok,
CommandResult
Client::ProcessLine(char *line) noexcept
{
if (IsUpperAlphaASCII(*line)) {
/* no valid MPD command begins with an upper case
if (!IsLowerAlphaASCII(*line)) {
/* all valid MPD commands begin with a lower case
letter; this could be a badly routed HTTP
request */
FormatWarning(client_domain,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment