diff options
Diffstat (limited to 'src/operator-starttls.cc')
-rw-r--r-- | src/operator-starttls.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/operator-starttls.cc b/src/operator-starttls.cc index c127e1a..4f68285 100644 --- a/src/operator-starttls.cc +++ b/src/operator-starttls.cc @@ -20,21 +20,21 @@ using namespace Binc; -StarttlsOperator::StarttlsOperator(void) {} +StarttlsOperator::StarttlsOperator() {} -StarttlsOperator::~StarttlsOperator(void) {} +StarttlsOperator::~StarttlsOperator() {} -const std::string StarttlsOperator::getName(void) const +const std::string StarttlsOperator::getName() const { return "STARTTLS"; } -int StarttlsOperator::getState(void) const +int StarttlsOperator::getState() const { return Session::NONAUTHENTICATED | Session::AUTHENTICATED | Session::SELECTED; } -int StarttlsOperator::goStartTLS(void) const +int StarttlsOperator::goStartTLS() const { Session &session = Session::getInstance(); |