summaryrefslogtreecommitdiff
path: root/src/maildir-scanfilesnames.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/maildir-scanfilesnames.cc')
-rw-r--r--src/maildir-scanfilesnames.cc15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/maildir-scanfilesnames.cc b/src/maildir-scanfilesnames.cc
index 643460b..0bde999 100644
--- a/src/maildir-scanfilesnames.cc
+++ b/src/maildir-scanfilesnames.cc
@@ -2,19 +2,19 @@
* @file maildir-scanfilesnames.cc
* @brief Implementation of the Maildir class.
* @author Andreas Aardal Hanssen
- * @date 2002-2005
+ * @date 2002-2005
* ----------------------------------------------------------------- **/
+#include "iodevice.h"
+#include "iofactory.h"
#include "maildir.h"
-#include <iostream>
#include <iomanip>
+#include <iostream>
-#include <dirent.h>
-#include <unistd.h>
#include <errno.h>
-#include "iodevice.h"
-#include "iofactory.h"
+#include <dirent.h>
+#include <unistd.h>
using namespace ::std;
@@ -24,8 +24,7 @@ bool Binc::Maildir::scanFileNames(void) const
string curpath = path + "/cur/";
DIR *pdir = opendir(curpath.c_str());
if (pdir == 0) {
- setLastError("when scanning mailbox \""
- + path + "\": " + string(strerror(errno)));
+ setLastError("when scanning mailbox \"" + path + "\": " + string(strerror(errno)));
bincWarning << getLastError() << endl;
return false;
}