summaryrefslogtreecommitdiff
path: root/imap/src/c-client/auth_oa2.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-11-01 12:27:04 -0700
committerEduardo Chappa <chappa@washington.edu>2020-11-01 12:27:04 -0700
commit649572ba29dfab09cb77a5c2f6f5d12e9822792c (patch)
treea9b3b2c64321f4ab302a70852b72e7443e4fbeba /imap/src/c-client/auth_oa2.c
parent6486d2b43ee2ce595a4b292cd2620f56d7c20757 (diff)
downloadalpine-649572ba29dfab09cb77a5c2f6f5d12e9822792c.tar.xz
* Improvements to the cancel authentication logic to not to make it
have a delay when cancelling authentication.
Diffstat (limited to 'imap/src/c-client/auth_oa2.c')
-rw-r--r--imap/src/c-client/auth_oa2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/c-client/auth_oa2.c b/imap/src/c-client/auth_oa2.c
index dac87960..b446b40f 100644
--- a/imap/src/c-client/auth_oa2.c
+++ b/imap/src/c-client/auth_oa2.c
@@ -169,7 +169,7 @@ long auth_oauth2_client (authchallenge_t challenger,authrespond_t responder, cha
if(oauth2.param[OA2_Id].value) fs_give((void **) &oauth2.param[OA2_Id].value);
if(oauth2.param[OA2_Secret].value) fs_give((void **) &oauth2.param[OA2_Secret].value);
if(oauth2.param[OA2_Tenant].value) fs_give((void **) &oauth2.param[OA2_Tenant].value);
- if (!ret || !oauth2.name)
+ if (!ret)
*trial = 65535; /* don't retry if bad protocol */
return ret;
}