summaryrefslogtreecommitdiff
path: root/imap/src/c-client/auth_bea.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_bea.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_bea.c')
-rw-r--r--imap/src/c-client/auth_bea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/c-client/auth_bea.c b/imap/src/c-client/auth_bea.c
index 64c3aa6c..d9f5e067 100644
--- a/imap/src/c-client/auth_bea.c
+++ b/imap/src/c-client/auth_bea.c
@@ -150,7 +150,7 @@ long auth_oauthbearer_client (authchallenge_t challenger,authrespond_t responder
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;
}