aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap.c b/imap.c
index a5cb5c57..467a34b9 100644
--- a/imap.c
+++ b/imap.c
@@ -107,6 +107,8 @@ int imap_ok(int sock, char *argbuf)
}
if (strstr(buf, "FLAGS"))
seen = (strstr(buf, "SEEN") != (char *)NULL);
+ if (strstr(buf, "PREAUTH"))
+ preauth = TRUE;
} while
(tag[0] != '\0' && strncmp(buf, tag, strlen(tag)));