smtp: Refactored the smtp_state_auth_resp() function

Renamed smtp_state_auth_resp() function to match the implementations in
IMAP and POP3.
This commit is contained in:
Steve Holme 2013-02-14 18:15:07 +00:00
Родитель a6dca9d28c
Коммит 7ed689d24a
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -910,7 +910,8 @@ static CURLcode smtp_state_auth_ntlm_type2msg_resp(struct connectdata *conn,
#endif #endif
/* For the final responses to the AUTH sequence */ /* For the final responses to the AUTH sequence */
static CURLcode smtp_state_auth_resp(struct connectdata *conn, int smtpcode, static CURLcode smtp_state_auth_final_resp(struct connectdata *conn,
int smtpcode,
smtpstate instate) smtpstate instate)
{ {
CURLcode result = CURLE_OK; CURLcode result = CURLE_OK;
@ -1213,7 +1214,7 @@ static CURLcode smtp_statemach_act(struct connectdata *conn)
#endif #endif
case SMTP_AUTH: case SMTP_AUTH:
result = smtp_state_auth_resp(conn, smtpcode, smtpc->state); result = smtp_state_auth_final_resp(conn, smtpcode, smtpc->state);
break; break;
case SMTP_MAIL: case SMTP_MAIL: