aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-14 18:15:07 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-14 18:15:07 +0000
commit7ed689d24a4e32cc2536e1863b34fd6d58b0d00e (patch)
tree02bfb7d291f6bb29581bc9d85ab681c0e612df0f /lib
parenta6dca9d28c5f12b3f1933b43bb30f1235dee03d4 (diff)
smtp: Refactored the smtp_state_auth_resp() function
Renamed smtp_state_auth_resp() function to match the implementations in IMAP and POP3.
Diffstat (limited to 'lib')
-rw-r--r--lib/smtp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/smtp.c b/lib/smtp.c
index e1f8d6c10..8e30a035a 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -910,8 +910,9 @@ static CURLcode smtp_state_auth_ntlm_type2msg_resp(struct connectdata *conn,
#endif
/* For the final responses to the AUTH sequence */
-static CURLcode smtp_state_auth_resp(struct connectdata *conn, int smtpcode,
- smtpstate instate)
+static CURLcode smtp_state_auth_final_resp(struct connectdata *conn,
+ int smtpcode,
+ smtpstate instate)
{
CURLcode result = CURLE_OK;
struct SessionHandle *data = conn->data;
@@ -1213,7 +1214,7 @@ static CURLcode smtp_statemach_act(struct connectdata *conn)
#endif
case SMTP_AUTH:
- result = smtp_state_auth_resp(conn, smtpcode, smtpc->state);
+ result = smtp_state_auth_final_resp(conn, smtpcode, smtpc->state);
break;
case SMTP_MAIL: