diff options
Diffstat (limited to 'src/operator-capability.cc')
-rw-r--r-- | src/operator-capability.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operator-capability.cc b/src/operator-capability.cc index 33d787a..7324025 100644 --- a/src/operator-capability.cc +++ b/src/operator-capability.cc @@ -73,14 +73,14 @@ Operator::ProcessResult CapabilityOperator::process(Depot &depot, Request &comma return Operator::ProcessResult::OK; } -Parser::ParseResult CapabilityOperator::parse(Request &c_in) +Parser::ParseResult CapabilityOperator::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 CAPABILITY"); return res; } |