summaryrefslogtreecommitdiff
path: root/src/bincimap-updatecache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bincimap-updatecache.cc')
-rw-r--r--src/bincimap-updatecache.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bincimap-updatecache.cc b/src/bincimap-updatecache.cc
index b89abdf..b1cf7b3 100644
--- a/src/bincimap-updatecache.cc
+++ b/src/bincimap-updatecache.cc
@@ -1,16 +1,16 @@
-/** --------------------------------------------------------------------
+/**
* @file bincimap-updatecache.cc
* @brief Implementation of the bincimap-updatecache tool.
* @author Andreas Aardal Hanssen
* @date 2002-2005
- * ----------------------------------------------------------------- **/
+ */
+
#include "depot.h"
#include "mailbox.h"
#include "maildir.h"
#include "session.h"
-using namespace ::Binc;
-using namespace ::std;
+using namespace Binc;
int main(int argc, char *argv[])
{
@@ -27,11 +27,11 @@ int main(int argc, char *argv[])
depotfactory.assign(new IMAPdirDepot());
depotfactory.assign(new MaildirPPDepot());
- string depottype = session.getEnv("DEPOT");
+ std::string depottype = session.getEnv("DEPOT");
if (depottype == "") depottype = "Maildir++";
Depot *depot;
- if ((depot = depotfactory.get(depottype)) == 0) {
+ if ((depot = depotfactory.get(depottype)) == nullptr) {
fprintf(stderr,
"Found no Depot for \"%s\". Please check "
" your configurations file under the Mailbox section.\n",