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-create.cc | |
parent | 3b1278f5459514a6d6364f068ff97b8a0432057b (diff) |
minor refactoring
Diffstat (limited to 'src/maildir-create.cc')
-rw-r--r-- | src/maildir-create.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/maildir-create.cc b/src/maildir-create.cc index 6e08b61..89d9f40 100644 --- a/src/maildir-create.cc +++ b/src/maildir-create.cc @@ -1,9 +1,10 @@ -/** -------------------------------------------------------------------- - * @file maildir-create.cc - * @brief Implementation of the Maildir class. - * @author Andreas Aardal Hanssen - * @date 2002-2005 - * ----------------------------------------------------------------- **/ +/** + * @file maildir-create.cc + * @brief Implementation of the Maildir class. + * @author Andreas Aardal Hanssen + * @date 2002-2005 + */ + #include "maildir.h" #include <errno.h> @@ -13,10 +14,9 @@ #include <sys/types.h> #include <unistd.h> -using namespace ::std; using namespace Binc; +using std::string; -//------------------------------------------------------------------------ bool Binc::Maildir::createMailbox(const string &s_in, mode_t mode, uid_t owner, gid_t group, bool root) { if (s_in != "." && mkdir(s_in.c_str(), mode) == -1) { |