diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-07 22:33:50 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-10-08 11:35:51 +0200 |
commit | 1978c49bea5b439d993067c055cec47e70db8fd6 (patch) | |
tree | 255caea96a13f95564e6b631be9a4ac55ce33cd9 /src/maildir-select.cc | |
parent | 3b1278f5459514a6d6364f068ff97b8a0432057b (diff) |
minor refactoring
Diffstat (limited to 'src/maildir-select.cc')
-rw-r--r-- | src/maildir-select.cc | 8 |
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; } |