aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 58927ad6..fe874831 100644
--- a/imap.c
+++ b/imap.c
@@ -376,7 +376,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
#ifdef NTLM_ENABLE
if ((ctl->server.authenticate == A_ANY
|| ctl->server.authenticate == A_NTLM)
- && strstr (capabilities, "AUTH=NTLM"))
+ && strstr (capabilities, "AUTH=NTLM")) {
if ((ok = do_imap_ntlm(sock, ctl)))
{
/* SASL cancellation of authentication */
@@ -386,6 +386,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting)
}
else
return(ok);
+ }
#else
if (ctl->server.authenticate == A_NTLM)
{