aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-23 23:41:32 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-23 23:41:32 +0000
commit7f0f666a6dab4ce685d25346b5f17857076e4c2f (patch)
tree26ef1775998abd239ce85bf8508a4567d062c5b1
parent9bf248cc2857d7ede6d2ded0b72adc2551d93623 (diff)
downloadfetchmail-7f0f666a6dab4ce685d25346b5f17857076e4c2f.tar.gz
fetchmail-7f0f666a6dab4ce685d25346b5f17857076e4c2f.tar.bz2
fetchmail-7f0f666a6dab4ce685d25346b5f17857076e4c2f.zip
Set peek_capable properly.
svn path=/trunk/; revision=813
-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)