From 8ecbfe701ce455fb0c9c83f2daa5dc62aa1bb51e Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 5 Jan 2021 23:32:42 +0300 Subject: [PATCH] Miscellaneous --- programs/client/Client.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/programs/client/Client.cpp b/programs/client/Client.cpp index 8c0b61f9ea3..236490caf31 100644 --- a/programs/client/Client.cpp +++ b/programs/client/Client.cpp @@ -862,9 +862,8 @@ private: if (next_separator < in.buffer().end() && *next_separator == '\n') { - // Found ';\n', append it to the query text and try to - // parse. - next_separator++; + // Found ';\n', append it to the query text and try to parse. + ++next_separator; text.append(in.position(), next_separator - in.position()); in.position() = next_separator; break;