summaryrefslogtreecommitdiff
path: root/src/imapserver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/imapserver.cc')
-rw-r--r--src/imapserver.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/imapserver.cc b/src/imapserver.cc
index 4003b93..7c913fb 100644
--- a/src/imapserver.cc
+++ b/src/imapserver.cc
@@ -20,7 +20,7 @@ using namespace Binc;
using std::endl;
namespace Binc {
- void showGreeting(void);
+ void showGreeting();
};
IMAPServer::IMAPServer(int argc, char **argv)
@@ -31,16 +31,16 @@ IMAPServer::IMAPServer(int argc, char **argv)
Session::getInstance().setState(Session::AUTHENTICATED);
}
-IMAPServer::~IMAPServer(void) {}
+IMAPServer::~IMAPServer() {}
-int IMAPServer::initialize(void)
+int IMAPServer::initialize()
{
Session &session = Session::getInstance();
if (!session.initialize(argc, argv)) return 111;
return 0;
}
-void IMAPServer::prepareForNextRequest(void)
+void IMAPServer::prepareForNextRequest()
{
serverStatus = OK;
@@ -52,7 +52,7 @@ void IMAPServer::prepareForNextRequest(void)
Session::getInstance().clearResponseCode();
}
-int IMAPServer::runStub(void)
+int IMAPServer::runStub()
{
bincDebug << "IMAPServer::runStub(), running stub" << endl;
this->stubMode = true;
@@ -60,7 +60,7 @@ int IMAPServer::runStub(void)
return run();
}
-int IMAPServer::run(void)
+int IMAPServer::run()
{
Session &session = Session::getInstance();
bincLog.setOutputLevelLimit(IODevice::InfoLevel);