summaryrefslogtreecommitdiff
path: root/src/bincimapd.cc
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-07 22:33:50 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-08 11:35:51 +0200
commit1978c49bea5b439d993067c055cec47e70db8fd6 (patch)
tree255caea96a13f95564e6b631be9a4ac55ce33cd9 /src/bincimapd.cc
parent3b1278f5459514a6d6364f068ff97b8a0432057b (diff)
minor refactoring
Diffstat (limited to 'src/bincimapd.cc')
-rw-r--r--src/bincimapd.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bincimapd.cc b/src/bincimapd.cc
index b8ba1cb..1ec89df 100644
--- a/src/bincimapd.cc
+++ b/src/bincimapd.cc
@@ -1,9 +1,10 @@
-/** --------------------------------------------------------------------
+/**
* @file bincimapd.cc
* @brief Implementation of the main bincimapd service
* @author Andreas Aardal Hanssen
* @date 2002-2005
- * ----------------------------------------------------------------- **/
+ */
+
#include "imapserver.h"
namespace Binc {
@@ -12,7 +13,7 @@ namespace Binc {
int main(int argc, char *argv[])
{
- Binc::IMAPServer imapServer(argc, argv);
+ auto imapServer = Binc::IMAPServer(argc, argv);
int initResult = imapServer.initialize();
if (initResult != 0) return initResult;
return imapServer.run();