summaryrefslogtreecommitdiff
path: root/src/imapserver.cc
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-11 21:49:37 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-11 21:49:37 +0200
commitbc946633e0bcae5fe63528ad743bcc67de7e347d (patch)
tree7a3d127148c13d84e92f38c319fb5aad1e88a6cb /src/imapserver.cc
parent3ea7edf8c9bf7583c426178d4aaff4fb5b736bd2 (diff)
created a Parser class
Diffstat (limited to 'src/imapserver.cc')
-rw-r--r--src/imapserver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imapserver.cc b/src/imapserver.cc
index c4c0d70..e3e5327 100644
--- a/src/imapserver.cc
+++ b/src/imapserver.cc
@@ -116,7 +116,7 @@ int IMAPServer::run()
session.setLastError(err);
skipToNextRequest = true;
} else {
- Parser::ParseResult parseResult = o->parse(clientRequest);
+ Parser::ParseResult parseResult = o->parse(clientRequest, broker->parser);
if (parseResult == Parser::ParseResult::TIMEOUT) {
serverStatus = ServerStatus::Timeout;
} else if (parseResult == Parser::ParseResult::REJECT) {