diff options
Diffstat (limited to 'src/operator-expunge.cc')
-rw-r--r-- | src/operator-expunge.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operator-expunge.cc b/src/operator-expunge.cc index 0a70c2f..21e71e4 100644 --- a/src/operator-expunge.cc +++ b/src/operator-expunge.cc @@ -44,14 +44,14 @@ Operator::ProcessResult ExpungeOperator::process(Depot &depot, Request &command) return Operator::ProcessResult::OK; } -Parser::ParseResult ExpungeOperator::parse(Request &c_in) +Parser::ParseResult ExpungeOperator::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; } |