diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-05-13 02:16:34 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-05-13 02:16:34 -0600 |
commit | 00c4ef9e0d4bc4d1ea210e7a0d31494b4116bb4a (patch) | |
tree | a45ced362cdacee4559153b9d9bd68130ab9b7a7 /imap/src/c-client/auth_pla.c | |
parent | 1a2261b89b700ae5d73bb82a7b581d7d30012f90 (diff) | |
download | alpine-00c4ef9e0d4bc4d1ea210e7a0d31494b4116bb4a.tar.xz |
* Avoid error messages or tcp timeouts when cancelling imap authentication.
Diffstat (limited to 'imap/src/c-client/auth_pla.c')
-rw-r--r-- | imap/src/c-client/auth_pla.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/c-client/auth_pla.c b/imap/src/c-client/auth_pla.c index befd7f8c..0725d90b 100644 --- a/imap/src/c-client/auth_pla.c +++ b/imap/src/c-client/auth_pla.c @@ -75,7 +75,7 @@ long auth_plain_client (authchallenge_t challenger,authrespond_t responder,char #endif mm_login (mb,user, &pwd,*trial); if (!pwd) { /* empty challenge or user requested abort */ - (*responder) (stream,NIL,NIL,0); + if (!base) (*responder) (stream,base,NIL,0); *trial = 0; /* cancel subsequent attempts */ ret = LONGT; /* will get a BAD response back */ } |