aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-04 20:33:30 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-04 20:33:30 +0000
commite1cd753e4d56b2e8b11e11643a4849ac482ba882 (patch)
treec33ccf4db5f205eae003f4975b4b85e859c35d11 /lib
parent4c26ba9ceae1ae2fcae76b771fee190d684c68f8 (diff)
pop3.c: Updated variable names to use shorter / more readable variant
Tidied up code from commit 6b6bdc83bdUpdated where a few instances of the pop3c struct variable used the longer conndata struct rather than matching what other code in pop3_authenticate() used.
Diffstat (limited to 'lib')
-rw-r--r--lib/pop3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 3ad918231..395c39d21 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -460,7 +460,7 @@ static CURLcode pop3_authenticate(struct connectdata *conn)
/* Check supported authentication mechanisms by decreasing order of
security */
- if(conn->proto.pop3c.authtypes & POP3_TYPE_SASL) {
+ if(pop3c->authtypes & POP3_TYPE_SASL) {
#ifndef CURL_DISABLE_CRYPTO_AUTH
if(pop3c->authmechs & SASL_MECH_DIGEST_MD5) {
mech = "DIGEST-MD5";
@@ -501,10 +501,10 @@ static CURLcode pop3_authenticate(struct connectdata *conn)
state(conn, authstate);
}
#ifndef CURL_DISABLE_CRYPTO_AUTH
- else if(conn->proto.pop3c.authtypes & POP3_TYPE_APOP)
+ else if(pop3c->authtypes & POP3_TYPE_APOP)
result = pop3_state_apop(conn);
#endif
- else if(conn->proto.pop3c.authtypes & POP3_TYPE_CLEARTEXT)
+ else if(pop3c->authtypes & POP3_TYPE_CLEARTEXT)
result = pop3_state_user(conn);
else {
infof(conn->data, "No known authentication mechanisms supported!\n");