summaryrefslogtreecommitdiff
path: root/lib/pop3.c
diff options
context:
space:
mode:
authorPatrick Monnerat <patrick@monnerat.net>2021-01-21 00:38:52 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-24 18:15:03 +0100
commitecb13416e316fc1c781f865d2bb7e74462ef793b (patch)
tree9aa6952ee7245220c75337e01f1e7762237a5f45 /lib/pop3.c
parent14e075d1a7fd58c78145bccbd53e679a3b691f5e (diff)
downloadcurl-ecb13416e316fc1c781f865d2bb7e74462ef793b.tar.gz
lib: remove conn->data uses
Closes #6499
Diffstat (limited to 'lib/pop3.c')
-rw-r--r--lib/pop3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 8683f895a..0110f8562 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -530,7 +530,7 @@ static CURLcode pop3_perform_authentication(struct Curl_easy *data,
if(pop3c->authtypes & pop3c->preftype & POP3_TYPE_SASL) {
/* Calculate the SASL login details */
- result = Curl_sasl_start(&pop3c->sasl, conn, FALSE, &progress);
+ result = Curl_sasl_start(&pop3c->sasl, data, conn, FALSE, &progress);
if(!result)
if(progress == SASL_INPROGRESS)
@@ -800,7 +800,7 @@ static CURLcode pop3_state_auth_resp(struct Curl_easy *data,
(void)instate; /* no use for this yet */
- result = Curl_sasl_continue(&pop3c->sasl, conn, pop3code, &progress);
+ result = Curl_sasl_continue(&pop3c->sasl, data, conn, pop3code, &progress);
if(!result)
switch(progress) {
case SASL_DONE: