]> granicus.if.org Git - curl/commitdiff
smtp: Renamed smtp_state_auth_passwd_resp() function
authorSteve Holme <steve_holme@hotmail.com>
Fri, 8 Feb 2013 20:54:03 +0000 (20:54 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Fri, 8 Feb 2013 20:54:03 +0000 (20:54 +0000)
Renamed the login password response function to better describe it's
purpose as well as for consistency with the imap and pop3 modules.

lib/smtp.c

index bb1df5606c7e3c472e832e608bd58704147ff94e..3a3447e63c241d3a11fdb2c5d04b2c7b96ec8579 100644 (file)
@@ -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