aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 6e57a185..7cea33cd 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, "CAPABILITIES"))
+ if (strstr(buf, "CAPABILITY"))
strncpy(capabilities, buf + 12, sizeof(capabilities));
if (strstr(buf, "EXISTS"))
count = atoi(buf+2);