diff --git a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp index c32e90f164..dffddf2254 100644 --- a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp +++ b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.cpp @@ -252,10 +252,10 @@ SMTPProtocol::SMTPProtocol(BMessage *message, BMailChainRunner *run) int32 authMethod = fSettings->FindInt32("auth_method"); if (authMethod == 2) { - // POP3 authentification is handled here instead of SMTPProtocol::Login() + // POP3 authentication is handled here instead of SMTPProtocol::Login() // because some servers obviously don't like establishing the connection // to the SMTP server first... - fStatus = POP3Authentification(); + fStatus = POP3Authentication(); if (fStatus < B_OK) { error_msg << MDR_DIALECT_CHOICE ("POP3 authentication failed. The server said:\n","POP3認証に失敗しました\n") << fLog; runner->ShowError(error_msg.String()); @@ -532,7 +532,7 @@ SMTPProtocol::Open(const char *address, int port, bool esmtp) status_t -SMTPProtocol::POP3Authentification() +SMTPProtocol::POP3Authentication() { // find the POP3 filter of the other chain - identify by name... BList chains; diff --git a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.h b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.h index 7141951c96..c6ec52d7a3 100644 --- a/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.h +++ b/src/add-ons/mail_daemon/outbound_protocols/smtp/smtp.h @@ -37,7 +37,7 @@ class SMTPProtocol : public BMailFilter { status_t SendCommand(const char *cmd); private: - status_t POP3Authentification(); + status_t POP3Authentication(); int _fd; BString fLog;