aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
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);