summaryrefslogtreecommitdiff
path: root/src/operator-close.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/operator-close.cc')
-rw-r--r--src/operator-close.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operator-close.cc b/src/operator-close.cc
index 37e4805..2ff0b0b 100644
--- a/src/operator-close.cc
+++ b/src/operator-close.cc
@@ -42,14 +42,14 @@ Operator::ProcessResult CloseOperator::process(Depot &depot, Request &command)
return Operator::ProcessResult::OK;
}
-Parser::ParseResult CloseOperator::parse(Request &c_in)
+Parser::ParseResult CloseOperator::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 CLOSE");
return res;
}