aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/smtp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index bb1df5606..3a3447e63 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -661,9 +661,9 @@ static CURLcode smtp_state_auth_login_resp(struct connectdata *conn,
}
/* For AUTH LOGIN user entry responses */
-static CURLcode smtp_state_auth_passwd_resp(struct connectdata *conn,
- int smtpcode,
- smtpstate instate)
+static CURLcode smtp_state_auth_login_password_resp(struct connectdata *conn,
+ int smtpcode,
+ smtpstate instate)
{
CURLcode result = CURLE_OK;
struct SessionHandle *data = conn->data;
@@ -1174,7 +1174,8 @@ static CURLcode smtp_statemach_act(struct connectdata *conn)
break;
case SMTP_AUTH_LOGIN_PASSWD:
- result = smtp_state_auth_passwd_resp(conn, smtpcode, smtpc->state);
+ result = smtp_state_auth_login_password_resp(conn, smtpcode,
+ smtpc->state);
break;
#ifndef CURL_DISABLE_CRYPTO_AUTH