summaryrefslogtreecommitdiff
path: root/imap/src/c-client/smtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap/src/c-client/smtp.c')
-rw-r--r--imap/src/c-client/smtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap/src/c-client/smtp.c b/imap/src/c-client/smtp.c
index 30bfd293..002e4107 100644
--- a/imap/src/c-client/smtp.c
+++ b/imap/src/c-client/smtp.c
@@ -318,6 +318,8 @@ long smtp_auth (SENDSTREAM *stream,NETMBX *mb,char *tmp)
else base = NIL;
stream->saslcancel = NIL;
if ((at->flags & AU_SINGLE) || smtp_send (stream,"AUTH",at->name) == SMTPAUTHREADY) {
+ /* log what type of authentication we are about to try */
+ if ((at->flags & AU_SINGLE) && stream && stream->debug) mm_dlog(base);
/* hide client authentication responses */
if (!(at->flags & AU_SECURE)) stream->sensitive = T;
if ((*at->client) (smtp_challenge,smtp_response,base,"smtp",mb,stream,