summaryrefslogtreecommitdiff
path: root/src/maildir-select.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/maildir-select.cc
parent3b1278f5459514a6d6364f068ff97b8a0432057b (diff)
minor refactoring
Diffstat (limited to 'src/maildir-select.cc')
-rw-r--r--src/maildir-select.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/maildir-select.cc b/src/maildir-select.cc
index a779a4a..470dbbc 100644
--- a/src/maildir-select.cc
+++ b/src/maildir-select.cc
@@ -1,18 +1,17 @@
-/** --------------------------------------------------------------------
+/**
* @file maildir-select.cc
* @brief Implementation of the Maildir class.
* @author Andreas Aardal Hanssen
* @date Andreas Aardal Hanssen
- * ----------------------------------------------------------------- **/
+ */
+
#include "maildir.h"
#include <fcntl.h>
#include <unistd.h>
-using namespace ::std;
using namespace Binc;
-//------------------------------------------------------------------------
bool Binc::Maildir::selectMailbox(const std::string &name, const std::string &s_in)
{
setName(name);
@@ -34,6 +33,7 @@ bool Binc::Maildir::selectMailbox(const std::string &name, const std::string &s_
break;
case TemporaryError:
if (scan() == Success) break;
+ [[fallthrough]];
case PermanentError:
return false;
}