From e0745c64eb12f8ca62ad325c7933f0f0cfc60138 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 20 Dec 1999 03:42:29 +0000 Subject: Interpret IMAP PREAUTH tag correctly (from Joerg Dorchain). svn path=/trunk/; revision=2668 --- imap.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'imap.c') 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))); -- cgit v1.2.3