diff options
Diffstat (limited to 'src/operator-noop.cc')
-rw-r--r-- | src/operator-noop.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operator-noop.cc b/src/operator-noop.cc index 9d72e8f..1d8ae1b 100644 --- a/src/operator-noop.cc +++ b/src/operator-noop.cc @@ -35,14 +35,14 @@ Operator::ProcessResult NoopOperator::process(Depot &depot, Request &command) return Operator::ProcessResult::OK; } -Parser::ParseResult NoopOperator::parse(Request &c_in) +Parser::ParseResult NoopOperator::parse(Request &c_in, Parser &p) { Session &session = Session::getInstance(); if (c_in.getUidMode()) return Parser::ParseResult::REJECT; Parser::ParseResult res; - if ((res = expectCRLF()) != Parser::ParseResult::ACCEPT) { + if ((res = p.expectCRLF()) != Parser::ParseResult::ACCEPT) { session.setLastError("Expected CRLF after NOOP"); return res; } |