aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-19 22:51:38 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-19 22:51:38 +0000
commite04eb45b0c531ffd1a8e102719d72cf918f8b3eb (patch)
tree6d735dbc1124081a51089991ff6b7bce186f6dcc /imap.c
parent5eac0535f171ebb13b4449db5abcf503d540c7b5 (diff)
downloadfetchmail-e04eb45b0c531ffd1a8e102719d72cf918f8b3eb.tar.gz
fetchmail-e04eb45b0c531ffd1a8e102719d72cf918f8b3eb.tar.bz2
fetchmail-e04eb45b0c531ffd1a8e102719d72cf918f8b3eb.zip
Fix IMAP4rev1 detection.
svn path=/trunk/; revision=1655
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 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);