From 00c4ef9e0d4bc4d1ea210e7a0d31494b4116bb4a Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Wed, 13 May 2020 02:16:34 -0600 Subject: * Avoid error messages or tcp timeouts when cancelling imap authentication. --- imap/src/c-client/auth_pla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap/src/c-client/auth_pla.c') 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 */ } -- cgit v1.2.3-54-g00ecf