diff options
Diffstat (limited to 'src/operator-logout.cc')
-rw-r--r-- | src/operator-logout.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operator-logout.cc b/src/operator-logout.cc index d58972b..3c7823c 100644 --- a/src/operator-logout.cc +++ b/src/operator-logout.cc @@ -54,14 +54,14 @@ Operator::ProcessResult LogoutOperator::process(Depot &depot, Request &command) return Operator::ProcessResult::NOTHING; } -Parser::ParseResult LogoutOperator::parse(Request &c_in) +Parser::ParseResult LogoutOperator::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"); return res; } |