aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-12-20 03:42:29 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-12-20 03:42:29 +0000
commite0745c64eb12f8ca62ad325c7933f0f0cfc60138 (patch)
tree578e3f423f177d26b434748a7f0646fdfdaead35 /imap.c
parent56d12edc38fe5ac5a4f48cb1337d2a4331d533e5 (diff)
downloadfetchmail-e0745c64eb12f8ca62ad325c7933f0f0cfc60138.tar.gz
fetchmail-e0745c64eb12f8ca62ad325c7933f0f0cfc60138.tar.bz2
fetchmail-e0745c64eb12f8ca62ad325c7933f0f0cfc60138.zip
Interpret IMAP PREAUTH tag correctly (from Joerg Dorchain).
svn path=/trunk/; revision=2668
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)));