From e04eb45b0c531ffd1a8e102719d72cf918f8b3eb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 19 Feb 1998 22:51:38 +0000 Subject: Fix IMAP4rev1 detection. svn path=/trunk/; revision=1655 --- imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap.c b/imap.c index e122d1bf..505c9550 100644 --- a/imap.c +++ b/imap.c @@ -56,7 +56,7 @@ int imap_ok(int sock, char *argbuf) return(ok); /* interpret untagged status responses */ - if (strstr(buf, "CAPABILITY")) + if (strstr(buf, "* CAPABILITY")) strncpy(capabilities, buf + 12, sizeof(capabilities)); if (strstr(buf, "EXISTS")) count = atoi(buf+2); -- cgit v1.2.3