Commit dda53476 authored by Steve Holme's avatar Steve Holme
Browse files

smtp: Renamed smtp_state_auth_passwd_resp() function

Renamed the login password response function to better describe it's
purpose as well as for consistency with the imap and pop3 modules.
parent 463082be
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -661,7 +661,7 @@ 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,
static CURLcode smtp_state_auth_login_password_resp(struct connectdata *conn,
                                                    int smtpcode,
                                                    smtpstate instate)
{
@@ -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