aboutsummaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-27 21:20:11 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-27 21:20:11 +0000
commitafad1ce753a108d64747e5d03168ace4b65aa751 (patch)
tree93390c7d22b39a597b979ee75b3d1d1d2f244a98 /lib/pop3.c
parent13006f3de9ec017ff27b50b82f9cf02abdcf22e5 (diff)
pop3: Re-factored the final POP3_AUTH constant
Changed the final POP3_AUTH constant to POP3_AUTH_FINAL for consistency with the response function.
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index ffccfe0e0..0d463727e 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -676,7 +676,7 @@ static CURLcode pop3_state_auth_plain_resp(struct connectdata *conn,
result = Curl_pp_sendf(&conn->proto.pop3c.pp, "%s", plainauth);
if(!result)
- state(conn, POP3_AUTH);
+ state(conn, POP3_AUTH_FINAL);
}
Curl_safefree(plainauth);
@@ -750,7 +750,7 @@ static CURLcode pop3_state_auth_login_password_resp(struct connectdata *conn,
result = Curl_pp_sendf(&conn->proto.pop3c.pp, "%s", authpasswd);
if(!result)
- state(conn, POP3_AUTH);
+ state(conn, POP3_AUTH_FINAL);
}
Curl_safefree(authpasswd);
@@ -805,7 +805,7 @@ static CURLcode pop3_state_auth_cram_resp(struct connectdata *conn,
result = Curl_pp_sendf(&conn->proto.pop3c.pp, "%s", rplyb64);
if(!result)
- state(conn, POP3_AUTH);
+ state(conn, POP3_AUTH_FINAL);
}
Curl_safefree(rplyb64);
@@ -875,7 +875,7 @@ static CURLcode pop3_state_auth_digest_resp_resp(struct connectdata *conn,
result = Curl_pp_sendf(&conn->proto.pop3c.pp, "");
if(!result)
- state(conn, POP3_AUTH);
+ state(conn, POP3_AUTH_FINAL);
}
return result;
@@ -951,7 +951,7 @@ static CURLcode pop3_state_auth_ntlm_type2msg_resp(struct connectdata *conn,
result = Curl_pp_sendf(&conn->proto.pop3c.pp, "%s", type3msg);
if(!result)
- state(conn, POP3_AUTH);
+ state(conn, POP3_AUTH_FINAL);
}
Curl_safefree(type3msg);
@@ -1215,7 +1215,7 @@ static CURLcode pop3_statemach_act(struct connectdata *conn)
break;
#endif
- case POP3_AUTH:
+ case POP3_AUTH_FINAL:
result = pop3_state_auth_final_resp(conn, pop3code, pop3c->state);
break;