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