aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap.c b/imap.c
index b6066efb..9d9c1f32 100644
--- a/imap.c
+++ b/imap.c
@@ -121,6 +121,8 @@ int imap_getauth(FILE *sockfp, struct query *ctl, char *buf)
if (outlevel == O_VERBOSE)
error(0, 0, "Protocol identified as IMAP4 rev 0");
}
+
+ peek_capable = (imap_version >= IMAP4);
}
static int imap_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp)